User talk:Hello World I'm Leah

February 2022
Please refrain from making test edits in Wikipedia pages, such as those you made to Web scraping, even if you intend to fix them later. Your edits have been reverted. If you would like to experiment again, please use your sandbox. Thank you. David Biddulph (talk) 20:18, 9 February 2022 (UTC)

Python: Hello World
In python 2, you will use print like this:

print" "

The quotes are strings. Strings are printable things that can go to very simple to pretty complex. To print, Hello World, you will put Hello World into the quotes. It should look like this:

print "Hello World"

One more way to do this is with variable. Variables are like containers and one of the things they can contain is string. So you could do something like this:

helloworld = "Hello World"

Now to print it you don't do this:

print "helloworld"

You do this:

print(helloworld)

I hope this was helpful! Have a nice day!