डाउनलोड पी.डी.एफ. ई-बुक्स
Python - While Loop

विवरण :

कोई विवरण नहीं है |


सोर्स कोड :

i = 0

while (i <= 10):
     print ("Value of i is : ", i)
     i = i + 1

आउटपुट :

Value of i is : 0
Value of i is : 1
Value of i is : 2
Value of i is : 3
Value of i is : 4
Value of i is : 5
Value of i is : 6
Value of i is : 7
Value of i is : 8
Value of i is : 9
Value of i is : 10