0% found this document useful (0 votes)
26 views

Answer All of The Following Questions.: ERP - Lab Assignment 1 Python Review

This document provides instructions for a Python review lab assignment. It lists 10 questions to be answered related to key Python concepts like lists vs tuples, whether Python is a programming or scripting language, how it is interpreted, local vs global variables, functions, using self, and flow control statements. Students must complete the assignment electronically and submit their responses by November 13, 2020.

Uploaded by

Magnon Be7wak
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
26 views

Answer All of The Following Questions.: ERP - Lab Assignment 1 Python Review

This document provides instructions for a Python review lab assignment. It lists 10 questions to be answered related to key Python concepts like lists vs tuples, whether Python is a programming or scripting language, how it is interpreted, local vs global variables, functions, using self, and flow control statements. Students must complete the assignment electronically and submit their responses by November 13, 2020.

Uploaded by

Magnon Be7wak
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 1

ERP – Lab Assignment 1

Python Review

Date: 7-11-2020

Due Date: 13-11-2020

Submission Method: Electronic

Answer all of the following questions.

Q1. What is the difference between list and tuples in Python?

Q2. What type of language is python? Programming or scripting?

Q3.How is Python an interpreted language?

Q4.What are local variables and global variables in Python?

Q5. What are functions in Python?

Q6. Write a function that returns if a number if even or odd

Q7.What are local variables and global variables in Python?

Q8. What is self in Python?

Q9. How does break, continue and pass work?

Q10. How can you generate random numbers in Python?

You might also like