Hello World!
If programming is the act of teaching a computer to have a conversation with a user, it would be most useful to first teach the computer how to speak. In Python, this is accomplished with the
print
statement.
print "Hello, world!"
print "Water—there is not a drop of water there! Were Niagara but a cataract of sand, would you travel your thousand miles to see it?"
A
print
statement is the easiest way to get your Python program to communicate with you. Being able to command this communication will be one of the most valuable tools in your programming toolbox.
1.
Using a
print
statement, output a message of your choosing to the terminal
jawaban:
print("hello friend!")
print("let's go1")
print("i make a home in the top of the mountain in there is so cool and my house is big inside my house is cool to.")
Tidak ada komentar:
Posting Komentar