ctf-resources/htb/hacktheboo2024/coding/[Very Easy] addition/challenge/challenge.py

6 lines
133 B
Python

import random
def gen_question():
a, b = random.randint(1, 10_000), random.randint(1, 10_000)
return f'{a}\n{b}', f'{a+b}'