To print "Green rain" in Japanese characters, you can use the following code:
main.py13 chars2 lines
Note that Japanese characters are supported in Python as Unicode strings. You can also store the string in a variable and manipulate it like any other string:
main.py97 chars6 lines
This will output:
main.py10 chars5 lines
Make sure to use a text editor that supports Unicode characters to avoid character encoding errors.
gistlibby LogSnag