Adding a new line character to a variable in python
This question already has an answer here:
'22n4444n666666n88888888n'
is the correct string representation of the expected result. In order to actually process the newline characters you need to print it:
print EvenLadder(6)
链接地址: http://www.djcxy.com/p/28322.html
上一篇: Python中的尖括号