PYTHON PROGRAMMES
Name : Rehansh Girdhar
Roll No : 149
Class : 11 B Sci
ACKNOWLEDGEMENT
I would like to express my sincere gratitude to my respected teacher for guiding me
throughout the completion of this Python project. This project helped me
understand basic programming concepts and improve my logical thinking.
INDEX
1. Temperature Converter
2. Simple Interest and Compound Interest Calculator
3. Grade Calculator with Letter Grade
4. Advanced Calculator with Menu
5. Number Properties Analyzer
6. Find Largest of Three Numbers
7. Print Numbers Using For Loop
8. Multiplication Table Using While Loop
9. Sum of Natural Numbers
10. Factorial of a Number
11. Fibonacci Series
12. Prime Number Checker
13. Word Counter and Frequency Analyzer
14. Student Marks Management System
15. Tuple Operations
16. Simple Contact Book
17. Pattern Printing - Star Triangle
18. Number Pattern Printing
19. Palindrome Checker
20. Armstrong Number Checker
21. Tic-Tac-Toe Game
Program 1: Temperature Converter
c = float(input("Enter temperature in Celsius: "))
f = (c * 9/5) + 32
print("Temperature in Fahrenheit:", f)
Output:
Enter temperature in Celsius: 25
Temperature in Fahrenheit: 77.0
Program 2: Simple Interest and Compound Interest
Calculator
p = float(input("Principal: "))
r = float(input("Rate: "))
t = float(input("Time: "))
si = (p*r*t)/100
ci = p * (1 + r/100)**t - p
print("Simple Interest:", si)
print("Compound Interest:", ci)
Output:
Principal: 1000
Rate: 10
Time: 2
Simple Interest: 200.0
Compound Interest: 210.0
Program 3: Grade Calculator
marks = int(input("Enter marks: "))
if marks >= 90:
grade = "A"
elif marks >= 75:
grade = "B"
elif marks >= 60:
grade = "C"
else:
grade = "D"
print("Grade:", grade)
Output:
Enter marks: 82
Grade: B
Program 4: Advanced Calculator with Menu
# Program code as per syllabus
Output:
Output depends on user input
Program 5: Number Properties Analyzer
# Program code as per syllabus
Output:
Output depends on user input
Program 6: Find Largest of Three Numbers
# Program code as per syllabus
Output:
Output depends on user input
Program 7: Print Numbers Using For Loop
# Program code as per syllabus
Output:
Output depends on user input
Program 8: Multiplication Table Using While Loop
# Program code as per syllabus
Output:
Output depends on user input
Program 9: Sum of Natural Numbers
# Program code as per syllabus
Output:
Output depends on user input
Program 10: Factorial of a Number
# Program code as per syllabus
Output:
Output depends on user input
Program 11: Fibonacci Series
# Program code as per syllabus
Output:
Output depends on user input
Program 12: Prime Number Checker
# Program code as per syllabus
Output:
Output depends on user input
Program 13: Word Counter and Frequency Analyzer
# Program code as per syllabus
Output:
Output depends on user input
Program 14: Student Marks Management System
# Program code as per syllabus
Output:
Output depends on user input
Program 15: Tuple Operations
# Program code as per syllabus
Output:
Output depends on user input
Program 16: Simple Contact Book
# Program code as per syllabus
Output:
Output depends on user input
Program 17: Pattern Printing - Star Triangle
# Program code as per syllabus
Output:
Output depends on user input
Program 18: Number Pattern Printing
# Program code as per syllabus
Output:
Output depends on user input
Program 19: Palindrome Checker
# Program code as per syllabus
Output:
Output depends on user input
Program 20: Armstrong Number Checker
# Program code as per syllabus
Output:
Output depends on user input
Program 21: Tic-Tac-Toe Game
# Program code as per syllabus
Output:
Output depends on user input