File tree Expand file tree Collapse file tree 5 files changed +9
-8
lines changed Expand file tree Collapse file tree 5 files changed +9
-8
lines changed Original file line number Diff line number Diff line change @@ -25,7 +25,7 @@ def b_calc():
2525 exp = eval (str (num1 ) + action + str (num2 ))
2626 else :
2727 print (
28- f"{ answer } is wrong answer ;(."
28+ f"{ answer } is wrong answer ;(. "
2929 f"Correct answer was { exp } .\n "
3030 f"Let's try again, { engine .name } !"
3131 )
Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ def b_even():
2020 ngin .counter += 1
2121 else :
2222 print (
23- f"{ answer } is wrong answer ;(."
23+ f"{ answer } is wrong answer ;(. "
2424 f"Correct answer was { real_answer } .\n "
2525 f"Let's try again, { ngin .name } !"
2626 )
Original file line number Diff line number Diff line change @@ -21,16 +21,17 @@ def b_gcd():
2121 a = b
2222 b = rem
2323
24- if b == 0 :
25- gcd = a
24+ if b == 0 :
25+ gcd = a
2626 if answer == str (gcd ):
27- print ('Correct' )
27+ print ('Correct! ' )
2828 a = randint (0 , 20 )
2929 b = randint (0 , 20 )
30+ numbers = [a , b ]
3031 ngin .counter += 1
3132 else :
3233 print (
33- f"{ answer } is wrong answer ;(."
34+ f"{ answer } is wrong answer ;(. "
3435 f"Correct answer was { gcd } \n ."
3536 f"Let's try again, { ngin .name } !"
3637 )
Original file line number Diff line number Diff line change @@ -25,7 +25,7 @@ def b_prime():
2525 div_counter = 0
2626 else :
2727 print (
28- f"{ answer } is wrong answer ;(."
28+ f"{ answer } is wrong answer ;(. "
2929 f"Correct answer was { real_answer } .\n "
3030 f"Let's try again, { ngin .name } !"
3131 )
Original file line number Diff line number Diff line change @@ -34,7 +34,7 @@ def b_progression():
3434 ngin .counter += 1
3535 else :
3636 print (
37- f"{ answer } is wrong answer ;(."
37+ f"{ answer } is wrong answer ;(. "
3838 f"Correct answer was { missing_number } .\n "
3939 f"Let's try again, { ngin .name } !"
4040 )
You can’t perform that action at this time.
0 commit comments