mirror of
https://github.com/metafy-social/python-scripts.git
synced 2025-03-01 03:18:42 +00:00
Edit script.py capitalization
This commit is contained in:
parent
e8cf0597d1
commit
4c48d5ef59
@ -21,8 +21,8 @@ def month_days(month, leap_year):
|
|||||||
return 28
|
return 28
|
||||||
|
|
||||||
|
|
||||||
name = input("input your name: ")
|
name = input("Input your name: ")
|
||||||
age = input("input your age: ")
|
age = input("Input your age: ")
|
||||||
localtime = time.localtime(time.time())
|
localtime = time.localtime(time.time())
|
||||||
|
|
||||||
year = int(age)
|
year = int(age)
|
||||||
@ -45,4 +45,4 @@ for m in range(1, localtime.tm_mon):
|
|||||||
|
|
||||||
day = day + localtime.tm_mday
|
day = day + localtime.tm_mday
|
||||||
print("%s's age is %d years or " % (name, year), end="")
|
print("%s's age is %d years or " % (name, year), end="")
|
||||||
print("%d months or %d days" % (month, day))
|
print("%d months or %d days" % (month, day))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user