Write a Program to check whether the given string is Palindrome or not.
Class 12th CBSE CS Write a Program to check whether the given string is Palindrome or not. Solution: –Â def palindrom(s): # Remove space and convert it into lower string s = s.replace(” “,””).lower() return s == s[::-1] input_string = input(“Enter the String :- “) if palindrom(input_string): print(“The String is Palindrome….”) else: print(“The String is […]
Write a Program to find whether an inputted number is Perfect number or not.
Class 12th CBSE CS WAP to find whether an inputted number is Perfect number or not. Solution: –Â def perfectnum(num): divsum = 0 for i in range(1,num): if num % i ==0: divsum = divsum + i #divsum += i if divsum == num: print(“Perfect Number……”) else: print(“Not a Perfect number.”) n = int(input(“Enter the […]
Write a Program to enter two number and print the arithmetic Operator like +,-,*,/,// and %.
Class 12th CBSE Write a Program to enter two number and print the arithmetic Operator like +,-,*,/,// and %. Solution: – result=0 while True: x = float(input(“Enter the First Value :- “)) y = float(input(“Enter the Second Value :- “)) op = input(“Enter any one operator of your choice :- (+,-,*,/,//,%,**) “) if op == […]
Class 12th Physics Activity 6
Class 12th Physics Activity 5
Class 12th Physics Activity 4
Class 12th Physics Activity 3
Class 12th Physics Activity 2
Class 12th CBSE Activity -2 Object :- To assemble the components of a given electrical circuit. Fun & Easy to follow Works on all devices Your own Pace Super Affordable Popular Videos https://www.youtube.com/watch?v=9uOETcuFjbE UX for Teams Learn the basics and a bit beyond to improve your backend dev skills. Chris Matthews Designer https://www.youtube.com/watch?v=9uOETcuFjbE SEO & […]
Class 12th Physics Activity 1
Class 12th CBSE Activity -1 Object :- To measure the resistance and impedance of an inductor with or without iron core. Fun & Easy to follow Works on all devices Your own Pace Super Affordable Popular Videos https://www.youtube.com/watch?v=9uOETcuFjbE UX for Teams Learn the basics and a bit beyond to improve your backend dev skills. Chris […]
Class 12th Physics Experiment 9
Class 12th CBSE Experiment -9 Aim: To draw the I – V characteristics curve of p-n junction in forward bias & reverse bias. Fun & Easy to follow Works on all devices Your own Pace Super Affordable Popular Videos https://www.youtube.com/watch?v=9uOETcuFjbE UX for Teams Learn the basics and a bit beyond to improve your backend dev […]