Mayungo Mayu Mayu.
I am studying Python etc. at a certain facility.
I will frequently review the basics of Python in a post after a long time and output it.
Then from print!
Use print () to enter characters in Python. Let's put in the words of a certain anime.
print(Exactly DEATH ☆ GAME! !!)
File "<ipython-input-8-f6bf2af4c19f>", line 1
print(Exactly DEATH ☆ GAME! !!)
^
SyntaxError: invalid character in identifier
I got an error. The part to be fixed is specified by "^". I'm getting a syntax error here. Let's put "" (double quotation marks) in print (). This will give you a quote.
print("Exactly DEATH ☆ GAME! !!")
Exactly DEATH ☆ GAME! !!
Only the inside of "" "is displayed. The same is true for'' (single quotation).
print('Exactly DEATH ☆ GAME! !!')
Exactly DEATH ☆ GAME! !!
If you mix "" "" and "''" here, an error will occur, so be careful.
print('Exactly DEATH ☆ GAME! !!')
File "<ipython-input-11-2cb4aeeeb0d2>", line 1
print("Exactly DEATH ☆ GAME! !!')
^
SyntaxError: EOL while scanning string literal
I tried to put out the letters in the first time.
It is famous for hello world and may be interesting compared to other languages.
print("hello world")
hello world
Finally, print out the most important (?) Information.
print("Thank you for subscribing to the channel")
Thank you for subscribing to the channel
Thank you for reading.