Skip to content

How to print messages in Python?

print("Hello World!")
# You can also print other data types
print(True)
print(3.14)
# And, you can print multiple things at a time
print("Hello", "World!")
See also  How to get words from a string list in Python?

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.