Skip to content

Commit 8ed4b67

Browse files
committed
добавлен комментарий NOSONAR
1 parent 747f77d commit 8ed4b67

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

brain_games/games/brain_calc_game.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ def brain_calc():
1313
while answer < 3:
1414
n1 = randrange(1, 51) #NOSONAR
1515
n2 = randrange(1, 51) #NOSONAR
16-
operator = choice(['+', '-', '*'])
16+
operator = choice(['+', '-', '*']) #NOSONAR
1717

1818
if operator == "+":
1919
res = n1 + n2

brain_games/games/brain_progression_game.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ def get_question_answer():
1414
a = start + i * step
1515
res.append(str(a))
1616

17-
index = randrange(0, len(res))
17+
index = randrange(0, len(res)) #NOSONAR
1818
correct_answer = res[index]
1919
res[index] = '..'
2020
question = ' '.join(res)

0 commit comments

Comments
 (0)