The curriculum focus of this Chapter is Geography, with a classroom quiz based on If, Or, and Else in Python coding.
How about adding some of your own Geography questions (and answers!) to the quiz?
Input:
Output:
(Type in your answer at the cursor, above.)
The code:
#Monday 1st April 2019
#Programmer Beth Mead
#Thanks to Ethan and Nate (testers)
print("A Geography Lesson")
print()
print("Malika is a very kind cat. She has always liked helping others in need, and so she is friendly with almost all of the teachers at the school.")
print("One morning the phone rang. It was Miss Bindi, the Koala teacher of Geography, who came from Australia.")
print('''"G'day Malika," Miss Bindi said. "Would ya mind coverin' my lesson t'day? It's the last day of school, and I'm goin' back t' Oz for the hol'days."''')
print('Malika, of course, said she would. She then called Maisy, who said she wanted to come, too.')
print('Maisy and Malika met outside the school gates.')
print('"So, what are we teaching today?" Maisy asked.')
print('"We are teaching the same class as usual, but we are teaching them Geography."')
print('''Maisy and Malika knew the class so well now they didn't even need to call the register. They just did it themselves.''')
print('They taught the class some general geographical knowledge. The class enjoyed the lesson very much.')
print('At the end of the lesson, Malika spoke to the class.')
print('"This is a quiz on what we have learnt." Malika said, "Remember you must NOT put Full Stops at the end, as the computer will mark it as wrong."')
print()
print()
print('"What is the capital city of France?"')
ans=input()
if ans=="Paris" or ans=="paris":
print("You are correct!")
else:
print("It's called Paris.")
print()
print('"What is the longest river in the UK?"')
ans= input()
if ans=="Severn" or ans=="severn":
print("Well done!")
if ans=="Seven" or ans=="seven":
print("Close, but it is spelt Severn.")
else:
print("It's called The River Severn.")
print()
print("What are the four MAIN compass points?(Remember capital letters!)")
print("CLUE: put it in NSEW order.")
ans=input()
if ans=="North South East West" or ans=="North South East and West" or ans=="North, South, East and West":
print("Correct!")
else:
print("North, South, East and West are known as compass points.")
print()
print("Is the North or South pole colder?")
ans=input()
if ans=="north" or ans=="North" or ans=="north pole" or ans=="North pole" or ans=="North Pole":
print("It's the south that is colder.")
if ans=="south" or ans=="South" or ans=="south pole" or ans=="South pole" or ans=="South Pole":