Skip to content

Commit f27d723

Browse files
author
Виталий
committed
Fix gcd.py Update README.md
1 parent e5d47f7 commit f27d723

File tree

2 files changed

+5
-7
lines changed

2 files changed

+5
-7
lines changed

README.md

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,7 @@
33
<a href="https://codeclimate.com/github/Vitaliy-Berezhnoy/python-project-49/maintainability"><img src="https://api.codeclimate.com/v1/badges/3e3c695d3a98ff59c1d0/maintainability" /></a>
44
<a href="https://asciinema.org/a/9Skt2FbW7LSCkBky9LgDa7NLe" target="_blank"><img src="https://asciinema.org/a/9Skt2FbW7LSCkBky9LgDa7NLe.svg" /></a>
55

6-
<a href="https://asciinema.org/a/697024" target="_blank"><img src="https://asciinema.org/a/697024.svg" /></a>
7-
A demonstration. The game is to find the greatest common divisor.
8-
<a href="https://asciinema.org/a/697048" target="_blank"><img src="https://asciinema.org/a/697048.svg" /></a>
96

10-
Demonstration of the arithmetic progression game
11-
<a href="https://asciinema.org/a/697128" target="_blank"><img src="https://asciinema.org/a/697128.svg" /></a>
7+
**Demonstration of different outcomes of games.**
8+
9+
<a href="https://asciinema.org/a/697210" target="_blank"><img src="https://asciinema.org/a/697210.svg" /></a>

brain_games/games/gcd.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ def nod(a, b): # нахождение наибольшего общего
1414
questions = []
1515
right_answer = []
1616
for _ in range(3):
17-
num1 = randint(1, 1000)
18-
num2 = randint(1, 1000)
17+
num1 = randint(1, 10)
18+
num2 = randint(1, 10)
1919
questions.append(f"{num1} {num2}")
2020
right_answer.append(str(nod(num1, num2)))

0 commit comments

Comments
 (0)