0

Pls help me with this code

m=0 for i in range (100): r=i%22 m=max(m,i-r) print(m)

4th Apr 2019, 4:06 AM
AMAN TOMAR
AMAN TOMAR - avatar
4 Answers
+ 6
What's the problem ?? Btw u have done syntax error. Give space properly after for :
4th Apr 2019, 4:42 AM
Arushi Singhania
Arushi Singhania - avatar
+ 5
Is 4th line also under for loop ?? Or it is outside the for loop ??
4th Apr 2019, 4:46 AM
Arushi Singhania
Arushi Singhania - avatar
+ 2
AMAN TOMAR , to get better help from the community, try posting the link of your code in the playground rather than posting the code over here as sometimes it messes up with the indentations which is essential for Python.
4th Apr 2019, 4:54 AM
ŠØŠ°Ń‰Šø Š Š°Š½Š¶Š°Š½
ŠØŠ°Ń‰Šø Š Š°Š½Š¶Š°Š½ - avatar
0
The logic for output
4th Apr 2019, 4:43 AM
AMAN TOMAR
AMAN TOMAR - avatar