Write a for loop that prints the odd numbers from 11 to 51.
What is the value and type for each of the following expressions? Try them in python to check your answers.
Note: not all expressions shown are allowed in python.
2 + 5 (for example: value=7 type=int)
"2" + "5"
2**5
2.0 + 5
5/2
5/2.0
8 / 10
8 % 10
8 / 10.0
range(1,5)
range(10,1,-1)
range(3)
5 - 2 * 3
"pony" * 3
"Jeffrey" - "rey"
Last updated: Tuesday, September 22, 2020 at 12:25:29 PM