##Step 1
Open up your workspace on c9.io and activate the bash.
Type in
python3
Into the the terminal interface.
This invokes the REPL. The REPL is an interactive mode that allows you to be able to receive the results of operations immediately.
Inside the terminal type in:
print ("Python is so much fun")
You notice that you get the output immediately
Can you get python to print out:
- Your name?
- Name of the organization?
- Your county?
##Step 2
While it is useful to print out items to the screen, we can do much better. Python allows us to specify a variable. A variable is simply a place holder for your information.
Let's try it out. Type in
name = "Jacob Chencha"
print (name)
Not very useful, but let us say you had two people now.
name1 = "Jacob Chencha"
name2 = "Ade Lovelace"
print (name1)
print (name2)
The variables now persist with the information given.
Instead of printing out the names, now use python to first save and then print out.
- Your name?
- Name of the organization?
- Your county?
##Step 3
With the information you have about naming and creating variables, we can now jump into the material.
Work through the exercises presented here http://introtopython.org/var_string_num.html
##References
