DEV Community

Sanjay Sugumar
Sanjay Sugumar

Posted on

Python RESTART #2

hi,
Date:22/05/2026/
Day: friday
Python Day #2


looping:

while loop

how can we use while looping statement and there some example code:
count=1
while count <5:
print(count*2, end =" ")
count=count+1
print(count)


Here Code Was LOOPING
*WHY WE USE HERE (end=" ")in PYTHON
DEFAULT PYTHON THERE SAVE /n


Top comments (0)