Untitled

mail@pastecode.io avatar
unknown
plain_text
2 years ago
222 B
0
Indexable
Never
import random


def generate_question():
    # generate two random numbers
    first_num = random.randint(1, 10)
    second_num = random.randint(1, 10)
    
    print(f'{first_num} + {second_num} = ')


generate_question()