0

1 2 3 4 5

kindly write code for this using while loop

3rd Oct 2016, 5:04 PM
Imran Gul
Imran Gul - avatar
3 odpowiedzi
+ 2
n = 1 s = 20 while n <=5 : print (" "*s ,n) n +=1 s -=4 u can change the value of s to make the space larger or smaller as u want
3rd Oct 2016, 5:15 PM
hassan omar
hassan omar - avatar
0
thanks dear
3rd Oct 2016, 5:24 PM
Imran Gul
Imran Gul - avatar
0
1 22 333 4444 55555 by using while loop
3rd Oct 2016, 5:33 PM
Imran Gul
Imran Gul - avatar