This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Xft.dpi: 96 | |
| Xft.antialias: true | |
| Xft.hinting: true | |
| Xft.rgba: rgb | |
| Xft.autohint: true | |
| Xft.hintstyle: hintslight | |
| Xft.lcdfilter: lcddefault | |
| XTerm*background: #ffffff | |
| XTerm*foreground: #ffffff |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #include <stdio.h> | |
| #include <stdlib.h> | |
| #define MAX 30 | |
| typedef struct { | |
| char ime[30]; | |
| char prz[30]; | |
| double bp; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| from korisnik import get_clients | |
| from korisnik import registration | |
| def main(): | |
| print("Opcija?") | |
| korisnici = get_clients() | |
| registration() |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| def contains_digit(str): | |
| for c in str: | |
| if c.is_digit(): | |
| return True | |
| return False | |
| def print_clients(): |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #include <stdio.h> | |
| #include <stdlib.h> | |
| #include <string.h> | |
| typedef struct { | |
| char ime[15]; | |
| char prezime[15]; | |
| int god; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| def dadilja(pv, zv): | |
| ps = int(pv[0] + pv[1]) | |
| zs = int(zv[0] + zv[1]) | |
| pm = int(pv[3] + pv[4]) | |
| zm = int(zv[3] + zv[4]) | |
| pm += ps * 60 | |
| zm += zs * 60 | |
| kvota = 100 / 60 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| def dadilja(pv, zv): | |
| ps = int(pv[0] + pv[1]) | |
| pm = int(pv[3] + pv[4]) | |
| zs = int(zv[0] + zv[1]) | |
| zm = int(zv[3] + zv[4]) | |
| p = pm + ps * 60 | |
| z = zm + zs * 60 | |
| kvota = 100 / 60 | |
| suma = 0 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| def dadilja(pv, zv): | |
| ps = int(pv[0] + pv[1]) | |
| pm = int(pv[3] + pv[4]) | |
| zs = int(zv[0] + zv[1]) | |
| zm = int(zv[3] + zv[4]) | |
| p = pm + ps * 60 | |
| z = zm + zs * 60 | |
| kvota = 100 / 60 | |
| suma = 0 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| def print_datum(dan,mesec,godina): | |
| print(str(dan)+"/"+str(mesec)+"/"+str(godina)) | |
| def je_prestupna_godina(godina): | |
| if((godina % 4 == 0) and (godina % 100 != 0)) or (godina % 400 == 0): | |
| return True | |
| else: | |
| return False |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # jan 31 | |
| # feb 28 | |
| #// mart 31 | |
| #// apr 30 | |
| #// maj 31 | |
| #// jun 30 | |
| #// jul 31 |
NewerOlder