Fejezet 6
This commit is contained in:
17
fejezet 6/f6/f6.py
Normal file
17
fejezet 6/f6/f6.py
Normal file
@@ -0,0 +1,17 @@
|
||||
honap = input()
|
||||
|
||||
def honap_napszam(honap):
|
||||
if(honap == "Január"): return 30
|
||||
if(honap == "Február"): return 28
|
||||
if(honap == "Március"): return 31
|
||||
if(honap == "Április"): return 30
|
||||
if(honap == "Május"): return 31
|
||||
if(honap == "Június"): return 30
|
||||
if(honap == "Július"): return 31
|
||||
if(honap == "Augusztus"): return 31
|
||||
if(honap == "Szeptember"): return 30
|
||||
if(honap == "Október"): return 30
|
||||
if(honap == "November"): return 30
|
||||
if(honap == "December"): return 31
|
||||
|
||||
print(honap_napszam(honap))
|
||||
Reference in New Issue
Block a user