Professional Documents
Culture Documents
Python - Midterm - Related Questions
Python - Midterm - Related Questions
5. Describe the purpose of the break and continue statements in Python loops.
8. Discuss the role of the Math and Random number functions in Python loop control.
9. What are user-defined functions in Python? Explain the types of function arguments
and provide examples of each type.
14. Discuss the search and replace functionality provided by regular expressions in
Python.