python 输出正方形 2023-01-31 01:01:33 python 输出 正方形 #!/usr/bin/env pythonnum = int(raw_input("please num:"))x = 1while x <= num: i = 1 while i <= num: print ('* '), i=i+1 x=x+1 print "" 相关文章