Try it on paper first. A hint, the key idea and the worked solution are here when you need them.
score = 10 and then Score = 99. What does print(score, Score) show? Are these the same variable?
Python is case sensitive.
Have you tried it?
Work it out on paper first. It is fine to get stuck or make a mistake: that is how we learn. When you are ready, compare your working with the solution.
Python treats small and capital letters as different. So score and Score are two different variables. The first holds 10, and the second holds 99.
Answer: 10 99. No, they are not the same variable.
Log in to join the discussion.
Loading…