+ 1

What is the highest value that can be printed??

import random random.radiant(0,120)%55 print(x)

15th Dec 2020, 7:40 PM
คгשเภ๔ кย๓คг
คгשเภ๔ кย๓คг - avatar
3 Réponses
+ 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
15th Dec 2020, 8:36 PM
Rik Wittkopp
Rik Wittkopp - avatar
+ 2
54
15th Dec 2020, 7:42 PM
Иван Чикyнов
Иван Чикyнов - avatar
15th Dec 2020, 7:59 PM
คгשเภ๔ кย๓คг
คгשเภ๔ кย๓คг - avatar