print()
function.
Functions have a unique name, and to use them, simply write their name
followed by a pair of parentheses. Often, functions need extra
information called arguments in order to work, which are included
inside the parentheses. Example of printing a string, which is a
sequence of characters:
print("Hello World!") # Hello World!
print(45) # 45 greeting = "hello" print(greeting) # hello
\n
- creates a new line\t
- creates a tab\t
to indent, and \n
to
create a new line:
print("\tHello\nWorld!") # Hello # World!
Your answer
Your answer
print("\tWelcome to my program"\n)
Your code
Your code
print(hello world)
Your code
Your code