O Level Previous paper
الذهاب إلى القناة على Telegram
https://youtube.com/@Satya806 सभी लोग इस Channel को Subscribe कर लो https://t.me/O_levelpaper Telegram group Quiz 👉https://t.me/o_levelsatya #M4-R5_Paper #M2R5 #O_Level #M3R5_Notes #M1R5Video #PaidClass_O_Level #O_Level_Notes #Satya_Sir
إظهار المزيد733
المشتركون
+124 ساعات
+17 أيام
+330 أيام
أرشيف المشاركات
O Level previous Paper group
Join👉@o_levelsatya
Area of Circle 🔴
area=3.14*r*r
#taking user input
r=float(input("Enter radius of circle:"))
#area formula
area=3.14*r*r
print("Area of Circle:",area)
"""
*Output*
Enter radius of circle:2.2
Area of Circle: 15.197600000000003
"""
Area of Rectangle 🟥
area=h*w
#taking user input
h=int(input("Enter height of rectangle:"))
w=int(input("Enter width of rectangle:"))
#area formula
area=h*w
print("Area of rectangle:",area)
"""
*Output*
Enter height of rectangle:15
Enter width of rectangle:6
Area of rectangle: 90
"""
Area of Square ⬛
area= side*side
#taking user input
side=float(input("Enter side of Square:"))
#area formula
area=side*side
print("Area of Square:",area)
"""
*Output*
Enter side of Square:14
Area of Square: 196.0
"""
Area of Triangle 📐
area =0.5*l*b
#taking user input
l=float(input("Enter length of triangle:"))
b=float(input("Enter breadth of triangle:"))
#area formula
area=0.5*l*b
print("Area of triangle:",area)
"""
*Output*
Enter length of triangle:16
Enter breadth of triangle:15
Area of triangle: 120.0
"""
Note- Python में Maximum Questions -6 आ सकते हैं जिसमें से दो या तीन बड़े प्रश्न होगा बाकी प्रश्न आसान होंगा
Ex-1-List का प्रयोग करो और उसमें max or min Number बताओ
2-dictionary में value add karna
3- Strings Program
Upper case ,lower case
4- Reverse Number
5-Palindrome Number
6- Armstrong Number
7-Write a Recursion function to find the sum of digits of a number
8-File (most important)
9- NumPy Python
10-formula Base Program (Square of Cube)/ Pattern
String Write a Program to print every Chapter of String entered by user in a new line
str=input("Enter any string:")
for i in str:
print(i)
"""
*OUTPUT*
Enter any string:Easy
E
a
s
y
"""
no=int(input("Enter any number:"))
if no%2==0:
print("even")
else:
print("odd")
"""
*Output*
Enter any number:25
odd
vowel
"""
#taking user input
no=int(input("Enter any number:"))
cpy=no
sum=0
while no!=0:
#extracting last digit
r=no % 10;
sum=sum+(r*r*r)
#removing last digit
no=int(no/10)
if cpy==sum:
print("Given number is Armstrong")
else:
print("Not Armstrong")
"""
*Output*
Enter any number:153
Given number is Armstrong
"""
Total digit -4
इसलिए इसका Power 4 फिर उसको जोड़ते हैं अगर जोड़ने के बाद वही Number मिलता है तो आपका Armstrong Number
Total digit -3
इसलिए इसका Power Cube फिर उसको जोड़ते हैं अगर जोड़ने के बाद वही Number मिलता है तो आपका Armstrong Number है
#taking user input
no=int(input("Enter any number:"))
cpy=no
rev=0
while no!=0:
#extracting last digit
r=no % 10;
rev=rev*10+r
#removing last digit
no=int(no/10)
if cpy==rev:
print("Given number is palindrome")
else:
print("Not palindrome")
"""
*Output*
Enter any number:1551
Given number is palindrome
"""
#taking user input
no=int(input("Enter any number:"))
while no!=0:
#extracting last digit
r=no % 10;
print(r,end="")
#removing last digit
no=int(no/10)
"""
*Output*
Enter any number:458
854
"""
W3Schools Tryit Editor
https://www.w3schools.com/python/trypython.asp?filename=demo_compiler
#taking user input
no=int(input("Enter any number:"))
last=no % 10
while no!=0:
#extracting last digit
r=no % 10;
#removing last digit
no=int(no/10)
print("First digit is {} and second digit is {}".format(r,last))
"""
*Output*
Enter any number:45648
First digit is 4 and second digit is 8
"""
#taking user input
no=int(input("Enter any number:"))
last=no % 10
while no!=0:
#extracting last digit
r=no % 10;
#removing last digit
no=int(no/10)
print(r)
#Output -1234
1
#taking user input
no=int(input("Enter any number:"))
last=no % 10
while no!=0:
#extracting last digit
r=no % 10;
#removing last digit
no=int(no/10)
print(last)
#Output -1234
4
Repost from O Level Previous paper
Note- Comment or Output देना पेपर में कोई भी जरूरी नहीं है Direct Programming लिखे Run करें अगर Program सही है Compile करने के बाद तो आप Submit करके दुसरा प्रश्न करे
जिससे आप का समय की बचत होगा☝️☝️
متاح الآن! بحث تيليغرام 2025 — أهم رؤى العام 
