Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # Let's check your Maths Knowledge
- from random import randint
- correct =0
- for _ in range(20):
- a=randint(0,100)
- b=randint(0,100)
- rd= a+b
- print(a,"+",b,"=")
- r = int(input())
- if r==rd:
- print('Right Answerπ')
- else:
- print('Worng Answerπ₯Ί')
- correct += 1
- print("it's over, questions complete.π π π ")
- print("Happy Codingπ ")
Advertisement
Add Comment
Please, Sign In to add comment