Created
October 11, 2019 09:05
-
-
Save NicholusMuwonge/f6546e5664ee07130f5acadf00458bbc to your computer and use it in GitHub Desktop.
This file contains 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 determine_age(): | |
response = input('name and age:') | |
check = [int(i) for i in response.split() if i.isdigit()] | |
if check!=[]: | |
for i in check: | |
value = 100 - i | |
print('youare left with '+ str(value) +'years to clock 100') | |
print('pass in your age and name') | |
some() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment