Python Programming
1. Get two values as input from the user and add them.
Code-
Output
2. Accept the name, age, and marks of a student and display the result in the new line.
Code-
Output
3. To display food menu for the user in the following manner:
Welcome to Delicious Avenue
Place your order from the following Menu:
a. Cheese balls b. Chocolate Shake c. Veg Sandwich d. Lemonade
Code-
Output
4. Take two values from the user and interchange them.
Code-
5. Create a program to perform basic calculations.
Code-
6. Find the power of one number to the other and store the result in a variable.
Code-
7. Convert the value of a given temperature from Fahrenheit to Celsius.
8. Convert a given distance from kilometres to miles.
9. Convert a given weight from kilograms to pounds.
10. Find the power of one number to the other and store the result in a variable.
11. Write Python programs to find the area and perimeter of the following shapes:
a. Square
b. Circle
c. Triangle
d. Rhombus
12. Write Python program to find the simple interest.