Chapter 1-3 Output "Python language easy to learn" python

Input formats:
None

Output format:
output a phrase, Python language easy to learn
if it contains characters, with "print (s.encode (" utf- 8 "))" output.

Such as:
S = "Life is short, I learned Python"
Print (s.encode ( "UTF-8"))

Sample input:
None

Sample Output:
"Life is short, I learned Python" output:
b '\ XE4 \ Xba \ Xba \ XE7 \ X94 \ x9F \ xe8 \ x8b \ xa6 \ XE7 \ x9F \ XAD \ XeF \ XBC \ x8c \ XE6 \ x88 \ x91 \ xe5 \ xad \ xa6Python '

s="Python语言简单易学"
print(s.encode("utf-8"))
Published 14 original articles · won praise 1 · views 98

Guess you like

Origin blog.csdn.net/weixin_45948920/article/details/104345310