0% found this document useful (0 votes)
31 views1 page

Python Programming Assignment 2

Very important q

Uploaded by

akhileshyv67
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
31 views1 page

Python Programming Assignment 2

Very important q

Uploaded by

akhileshyv67
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

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

You might also like