1
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
year = input()
|
||||
|
||||
stoletie = 0
|
||||
|
||||
if int(year)/100 < 1:
|
||||
stoletie = 1
|
||||
|
||||
elif int(year)/100 == int(year)//100:
|
||||
stoletie = int(year)/100
|
||||
|
||||
else:
|
||||
stoletie = int(year)//100 + 1
|
||||
|
||||
|
||||
print(int(stoletie))
|
||||
Reference in New Issue
Block a user