Programming Homework Help

Python Code Variables Questions

 

Answer the following questions

1. Create the following variables for (showing the syntax):

– a customer’s name

– a customer’s age in years

2. What data type did you use for each variable in #2?

3. What is the output from 9 ** 2 * 4 +1?

4. Is the output from #3 the same as 9 ** 2 * (4 + 1)? Why or why not?

5. Why is whitespace significant in Python?