Practical No :- 02
Q. Practical Related Questions.
3. Write a Python program to display “MSBTE” using Script Mode.
Practical No:- 03
Q. Practical Related Questions
4. Write a program to find the square root of a number.
Program :-
Output:-
5. Write a program to convert bits to Megabytes, Gigabytes and Terabytes.
Program:-
Output:-
6. Write a program to swap the value of two variables.
Program:-
Output:-
7. Write a program to calculate surface volume and area of a cylinder.
Program :-
Output:-
Practical no :-03 Write simple Python program using operators: Arithmetic Operators,
Logical Operators, Bitwise Operators
[Link] Using Arithmetic Operators :-
Program:-
Output:-
[Link] Using Logical Operators.
Program:-
Output:-
[Link] using Bitwise Operators:-
Program:-
Output:-
Practical No:-04
[Link] Related Questions
2. Write a program to check the largest number among the three numbers.
Program:-
Output:-
3. Write a program to check if the input year is a leap year of not 5.
Program:-
Output:-
5. Write a program to check if a Number is Positive, Negative or Zero.
Program:-
Output:-
6. Write a program that takes the marks of 5 subjects and displays the grades.
Program:-