Home > other >  python
python

Time:10-08

How to use a replacement while statement for... In statement
Save the children.
Such as the following 2 q

CodePudding user response:

(1) 1 represents print non-breaking with empty 2 print a newline characters joining together, 1 cycle 15 times, 2 cycle 5 times
(2)
I=1
While I & lt;=5:
J=1
While j & lt;=I:
Print (j, end=')
J +=1
I +=1
print()