





























Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
this is paracticle of python language
Typology: Cheat Sheet
1 / 37
This page cannot be seen from the preview
Don't miss anything!






























No. Name of Practical Date Page no. Sign of the Teacher
Program - 1 WAP to compute x n^ of given two integers x and n. Code:
Program 2: WAP for calculating simple interest. Code:
Program 4: WAP to accept percentage of a student and display its grade accordingly. Code:
Program 5: WAP to print Fibonacci series up to certain limit. Code:
Program 7 : WAP to accept a number, find and display whether it’s a Armstrong number or not. Code:
Program 8: WAP to accept a number and find out whether it is a perfect number or not. Code:
Program 10: WAP to print the following pattern: 1 1 2 1 2 3 Code:
Program 1 1 : WAP to accept a string and display whether it is a palindrome. Code:
Program 13 WAP to accept a string ( a sentence) and returns a string having first letter of each word in capital letter. Code:
Program 14 - WAP to remove all odd numbers from the given list. Code:
Program 16 WAP to display cumulative elements of a given list. For eg. List is [10,20,30,40] output should be [10, 30, 60, 100] Code:
Program 17 - WAP to display frequencies of all the elements of a list. Code: