Day 9: 100 Days of Python
Ibitomi Theophilus
1 min read
##DAY 9 100DAYS OF PYTHON
print("GENERATION GENERATOR")
Age = int(input("what year were you born? "))
if Age >= 1925 and Age <= 1946:
print ("You are a traditionalist")
elif Age >= 1947 and Age <= 1964:
print ("You are Baby boomer")
elif Age >= 1965 and Age <= 1981:
print ("You are Generation X")
elif Age >= 1982 and Age <= 1995:
print ("Millinials!!!, born in the tech age")
elif Age >= 1996 and Age <= 2015:
print("You are Generation Z ")
else:
print("Whatever that is, you are welcome")
0
Subscribe to my newsletter
Read articles from Ibitomi Theophilus directly inside your inbox. Subscribe to the newsletter, and don't miss out.
Written by
Ibitomi Theophilus
Ibitomi Theophilus
I am Junior Data Scientist, using python for my analysis and modelling. I have few projects i have worked on and I'm loving this process. I'm open to working with anyone willing to help me through this process.