Home > other >  For help
For help

Time:10-27

While write jiujiu multiplication table Python2.7.15 how to use

CodePudding user response:

Homework?
 
Def test () :
I=1
While I & lt;=9:
Prn_str='
J=1
While j & lt;=I:
Prn_str=prn_str + "\ t * {} {}={}". The format (I, j, I * j)
J=j + 1
Print (prn_str)
I=I + 1


The test ()

CodePudding user response:

Yes, we work, thank you for your guidance
  • Related