Day 12: 100 Days of Python

1 min read
#DAY 12 100Days Of Code
print("100 Days of Code QUIZ")
print()
print("How many can you answer correctly?")
ans1 = input("What language are we writing in?")
if ans1 == "python":
print("Correct")
else:
print("Nope🙈")
ans2 = int(input("Which lesson number is this?"))
if ans2>12:
print("We're not quite that far yet")
elif ans2 == 12:
print("That's right!")
else:
print("We've gone well past that!")
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.