0

Ehy its showing error in for loop?

for i==0: i=(1,2,3,4,5,6:10) if i>=5: print(i) break print("breaking") while i %2==0: print("even numbers are separated")

8th Oct 2020, 10:27 AM
Muhtasinul
Muhtasinul - avatar
4 Respuestas
+ 3
U mean this for i in range(1,11): if i >=5: print(i) break print("breaking") while i % 2== 0: print("even numbers are separated")
8th Oct 2020, 10:31 AM
Muhammad Galhoum
Muhammad Galhoum - avatar
+ 2
yes
8th Oct 2020, 10:34 AM
Muhammad Galhoum
Muhammad Galhoum - avatar
+ 2
Sorry The code for i in range(1,11): if i >= 5: print(i) break print("breaking") while i % 2== 0: print("even numbers are separated")
8th Oct 2020, 10:46 AM
Muhammad Galhoum
Muhammad Galhoum - avatar
+ 1
Inbox bro
8th Oct 2020, 10:35 AM
Muhtasinul
Muhtasinul - avatar