raw_input("xxx"):python 3.x以后版本中取消了raw_input而用input(" xxxxx")代替
list 函数:根据字符串创建列表
例如:list('hello')得到['h','e','l','l','o']
如何输出不换行:
方法:在每个print(xxx,end=""),end=""可使输出不换行
raw_input("xxx"):python 3.x以后版本中取消了raw_input而用input(" xxxxx")代替
list 函数:根据字符串创建列表
例如:list('hello')得到['h','e','l','l','o']
如何输出不换行:
方法:在每个print(xxx,end=""),end=""可使输出不换行