This document contains an assignment of 15 Python programs covering basic mathematical and logical concepts including calculating factorials, adding numbers, checking for odd/even numbers, summing squares, checking for leap years, simple and compound interest, finding area of a circle, checking for prime numbers within an interval, finding ASCII values, summing cubes, calculating volume and surface area of a cube, and checking if numbers are positive, negative, or zero. It also includes a program to check if characters are vowels or consonants. The assignment is due on June 2, 2020.
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0 ratings0% found this document useful (0 votes)
34 views
Lab Assignment 1
This document contains an assignment of 15 Python programs covering basic mathematical and logical concepts including calculating factorials, adding numbers, checking for odd/even numbers, summing squares, checking for leap years, simple and compound interest, finding area of a circle, checking for prime numbers within an interval, finding ASCII values, summing cubes, calculating volume and surface area of a cube, and checking if numbers are positive, negative, or zero. It also includes a program to check if characters are vowels or consonants. The assignment is due on June 2, 2020.
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 1
Introduction to Python Programming
Assignment 1 Submission Date: 02.06.2020
1. Python Program for factorial of a number
2. Python program to add two numbers 3. Python Program to Check if a Number is Odd or Even 4. Python Program for Sum of squares of first n natural numbers 5. Python Program to Check Leap Year 6. Python Program for simple interest 7. Python Program for compound interest 8. Python Program for Program to find area of a circle 9. Python program to print all Prime numbers in an Interval 10. Python program to check whether a number is Prime or not 11. Python Program to print ASCII Value of a character 12. Python Program for cube sum of first n natural numbers 13. Python Program for Volume and Surface Area of Cube 14. Python Program to Check if a Number is Positive Negative or Zero 15. Python program to check whether the entered character is vowel or consonant.