0

Write a boolean expression that returns True if tge value of the variable count is between 1 and 10 inclusive

1st Oct 2017, 12:41 PM
Kwabena Dennis
Kwabena Dennis - avatar
2 Respuestas
+ 6
return 1 <= count <= 10
1st Oct 2017, 1:45 PM
Kuba Siekierzyński
Kuba Siekierzyński - avatar
+ 1
1 <= count and count <= 10 or count in range(1,11)
1st Oct 2017, 12:48 PM
Chrizzhigh
Chrizzhigh - avatar