How to create an infiite loop in python using for loop?
Answers
Answered by
1
just put a condition which will be always true like say
for(int i=0;i<=0;i--)
in this case value of i will remain less than zero forever hence the loop will run infinite times
hope this helps i guess my code is c++ idk python so please compromise
Similar questions