Computer Science, asked by prajesh5350, 1 year ago

How to create an infiite loop in python using for loop?

Answers

Answered by parakhcmd
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