+ 1
What is the highest value that can be printed??
import random random.radiant(0,120)%55 print(x)
3 odpowiedzi
+ 1
Arvind Kumar
The % symbol returns the remainder of a math division
IE:
10 %6 = 4
20 %6 = 2
Your random import will generate numbers between 0 & 120.
55 will return 0
110 will return 0
So that means 54 will return 54
109 will also return 54
+ 2
54
+ 1
Иван Чикyнов
How