Department of Computer Science & Engineering
[Link]. II Year [CSE], SEM: 3rd
Session-2024-2025 (Odd Sem)
Subject Name & Code: Python Programming(BCC302) Section: A+B+C+D
ASSIGNMENT- 2
Submission Date: 10-10-2024
Q.1 What is the difference between continue and pass statements? K2,K4 CO2
Q.2 Write a python program to check whether a given no is prime or not? K2,K4 CO2
What is the output of the given Python code?
Q.3 for letter in '123456': K2,K4 CO2
if letter == '3':
break
print("Letter:", letter)
Q.4 Explain Expression Evaluation & Float Representation with example. K2,K4 CO2
Q.5 Write a python program for how to check if a given number is Fibonacci number. K2,K4 CO2