Matt0808
Career
- Joined
- Apr 19, 2012
- Messages
- 543
- Reaction score
- 207
How to Python
Episode One
Episode One
Downloading Python
The first thing you need to do in order to write your code is to download Python. You can download it HERE. I recommend you download 3.4.2:
Using Python
In order to write programs we need to open the Python IDLE. Just type search for Python and click the IDLE version. It should look something like this:
Traditionally, the first program you write when learning a new programming language is Hello World. A Hello World program is a program that outputs the words "Hello World" or whatever you would like it to output. So let's write it in Python now!
Hello World
Code:
print("Hello World")
If you managed to understand all that you should now be able to run your code (press ENTER). This should print the words "Hello World". Congratulations! You just made your first program! Now try changing the text to something like Hello MCSG or I love MCSG.
I hope you enjoyed the tutorial, make sure you check out next weeks addition to the series in which we will learn how to ask the user for input!
Sneak peek:
Sneak peek:
Last edited: