Divide 5/2 (integer format) and 5.0/2.0 (float format). Does python output the same values for these? (You might get a different answer depending on the version of python you are in). If you got a different answer for the two operations, explain why.
What does the modulo operator (%) do? Try it out with a few numbers in this format: "x % y" to get an idea.
What do these operators do: ** and //? Try them out with a few numbers in this format: "x // y" to get an idea.
Does python follow order of operations? Try it out with a few numbers in this format: "a + b + c * d / e"
Open "yourname.py". Edit the script so that each letter is labeled as a separate variable in this format: letter1, letter2, etc.
Run the script. Do any variables show up in the Variable Editor?
If there are not any repeated letters in your name: Create a final variable "letterX" that is the same as the first letter of your name. Run the script again. Print letterX and letter1 in the command line. Does python have a problem with two different variables having the same value?
If there are repeated letters in your name: Relabel one of those variables as "letterX". Print the variables with the same value one after the other in the command line. Does python have a problem with two (or more) different variables having the same value?
Give letterX a new letter that is not in your name. Print the new letterX and the other variable(s) that were previously all the same letter. Did changing the value of letterX change the value of the other variable(s)?
Redefine letterX with another variable instead of a letter (e.g., letterX=letter1). Print letterX and letter1, one after the other. Now change the value of letter1 to "z". Print letterX and letter1, one after the other. Did changing the value of letter1 change the value of letterX? What does this tell you about python variable assignment?