We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 997b00e commit 2505e4aCopy full SHA for 2505e4a
brain_games/games/prime.py
@@ -2,7 +2,7 @@
2
rules = 'Answer "yes" if given number is prime. Otherwise answer "no".'
3
def get_round():
4
num = random.randint(1, 50)
5
- question = num
+ question = f'Question: {num}'
6
for i in range(1, num):
7
if num % i == 0 and i != num and i != 1:
8
correct_answer = 'no'
0 commit comments