Chapter 2, Variables, Functions, and Users

Questions

Answers

Q1. What must a function begin with?

def

Q2. What are conventions that are used to name variables and functions?

All of the above

Q3. Every line after the first line of a function must be?

Indented

Q4. If you want a code file to run in Python, you need to end it with?

.py

Q5. To run a code file in the terminal, what do you need to do?

In the correct folder, type python and the name of the file

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.144.86.134