Advertisement
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
Advertisement