
O Level Previous Paper Group
February 8, 2025 at 05:37 PM
Q(1) Write a Program To Find Out Sum Of Digits of any Given Number
Ex-154= total Sum =10
Q(2) Write a Program to Accept a String Form the User and Convert it into Tuple
Solution 👉s="Python Practical Question "
tup=tuple (S. Split ( ))
Print (tup)
Q(3) Write a Program to Print This Pattern
1
12
123
1234
12345
n=int (input ("Enter number of Rows : "))
for i in range (1,n+1):
for j in range (1,i+1):
print (j,end =" ")
Print ()
Q(4) Write a Program To Create a Function that takes two lists of names as a Parameter and return true if they at one Name Common
def value _list (list1,list2):
result = False
for x in list1:
for y in list2:
If x==y:
result =True
retrun result
print (value _list( [1,2,3,4,5,6],[7,8,9] ))
print (value _list( [1,2,3,4,5,6],[7,8,9] ))
👉Satya Sir
👉https://t.me/O_levelpaper
8 Feb 2025 #m3r5
❤️
1