0

1 2 3 4 5 6 how to do it with python

16th Jan 2017, 7:56 PM
Anju kv
Anju kv - avatar
2 Respostas
+ 1
x=1 while(x<=3): i=1 st="" while(i<=x): st=st+str(i) i+=1 st=st+"\n" print (st) x+=1
16th Jan 2017, 8:45 PM
alireza shokri
alireza shokri - avatar
0
can we do it with while
16th Jan 2017, 8:17 PM
Anju kv
Anju kv - avatar