Python - If, Else, Random Randint in a Multiplication Game

Опубликовано: 11 Октябрь 2024
на канале: David Setiabudi
354
6

This is a sample of Python Script that uses If, Else, Random Randint.
The sample is a Multiplication Game in which the user is asked to count 9 x 3 = ? If the user answers 27 then it will say "Correct", or if the user answers 12 then "It's a wrong answer! It should be 27! "
The questions are randomized numbers, so the questions will always be different. Have fun, guys.


David Setiabudi