Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save NicholusMuwonge/f6546e5664ee07130f5acadf00458bbc to your computer and use it in GitHub Desktop.
Save NicholusMuwonge/f6546e5664ee07130f5acadf00458bbc to your computer and use it in GitHub Desktop.
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