Python: 3 Your first program – “Hello World”

In your editor of choice create a new file.

write the line

The print function takes one or more arguments

This is a premade function that prints out information to the screen

Strings are pieces of text. They can be identified with a starting ” and a closing “. You can also use a starting ‘ and a closing ‘.

You must make sure that they are both the same e.g. ” ” and ‘ ‘. Different ones like ” ‘ won’t work.

Save and then run the program.

You might also like