Lab Description:
This lab’s purpose was to get used to using the python command line and creating scripts for python. Due to having previous experience in programming C++ I had very little problems figuring out how things worked in python.
Code:
Screenshots:
Ex 3
- width/2 returns an integer
- width/2.0 returns a floating point
- height/3 returns a floating point
- 1 + 2 * 5 returns an integer
- delimiter ‘.’ returns a string