favorite_letter = { "qiqi" : ["a","b","c"], "lai" : ["x","w","q"], "wu" : ["c","s","x"], } for name, letter_0 in favorite_letter.items(): print (name.title()+ " favorite letter are:") for letter_1 in letter_0: print ("\t" = letter_1.upper())
报错: File "字典.py", line 25 SyntaxError: Non-ASCII character '\xa3' in file 字典.py on line 25, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details
你这个怕是有一个逗号是中文符号吧? "lai"的值里面
语句太长了容易出错,建议控制语句长度!
{$ item.file.size/1024/1024|number:2 $} MB