First Step in Programming
It is time for us to dive deeper into programming, but let's start from the very beginning.
The first step is learning how to output messages! You need to use the print()
statement to do it. Into the print()
statement, you need to put the string in the output, in ''
or " "
quotes.
For instance, if we want to output the sentence The US Independence Day is on the 4th of July
:
123print('The US Independence Day is on the 4th of July') # or print("The US Independence Day is on the 4th of July")
Tak for dine kommentarer!
Spørg AI
Spørg AI
Spørg om hvad som helst eller prøv et af de foreslåede spørgsmål for at starte vores chat
Awesome!
Completion rate improved to 2.08
First Step in Programming
Stryg for at vise menuen
It is time for us to dive deeper into programming, but let's start from the very beginning.
The first step is learning how to output messages! You need to use the print()
statement to do it. Into the print()
statement, you need to put the string in the output, in ''
or " "
quotes.
For instance, if we want to output the sentence The US Independence Day is on the 4th of July
:
123print('The US Independence Day is on the 4th of July') # or print("The US Independence Day is on the 4th of July")
Tak for dine kommentarer!