Python icon indicating copy to clipboard operation
Python copied to clipboard

Today i practise pyhton programing language using whileloop How to use #if and #else in while loops #engineering_in_kannada

Open ayyanagoud12 opened this issue 2 months ago • 0 comments

is_failed = input("enter yes to continue: ") i = 0

while is_failed=="yes": if i%2!=0: i+=1 print(f"attempt{i}") continue

    if i > 100:
        break
     

ayyanagoud12 avatar Nov 19 '25 15:11 ayyanagoud12