Do Now
Now, open and save a new file called 'my_file.py' in the IDE. Run a program by typing python3 my_file.py
into the terminal. Practice typing the following expressions and running. Write down what you tried and what happened.
2 * 3 * 5
"abc"
'"abc" + "bde"'
Now try typing the following into the file. Save and run.
print(2*3*5)
Write down the result? Explain what print
does. Try printing out 3 different values.
Open, save, and run a file
- Open
- Save
- Save how you would on a Word, or like File->Save
- Run
- If there is not a terminal open: