PYTHON_November_2023
PYTHON_November_2023
Fifth Semester
Information Technology
Or
(b) Explain how parameters and arguments are
passed in function definition?
17. (a) Write the syntax of for loop and find the
output of the following code
numbers=[l,2,4,6, 11,20]
seq=0
for val in numbers:
seq=val*val
print(seq)
Or
(b) Explain about input and output statement
with example.
Or
(b) Explain various type of inheritance in detail.
Or
(b) Write a python program to plot a curve.
———————