The document outlines an assignment consisting of eight Python programming tasks. These tasks include finding maximum values, checking number properties (positive, negative, even, odd), determining leap years, calculating grades from marks, and checking divisibility and Armstrong numbers. Each task is aimed at enhancing programming skills in Python.
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)
7 views1 page
Assignment 2
The document outlines an assignment consisting of eight Python programming tasks. These tasks include finding maximum values, checking number properties (positive, negative, even, odd), determining leap years, calculating grades from marks, and checking divisibility and Armstrong numbers. Each task is aimed at enhancing programming skills in Python.
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
Assignment-2
1. Python Program to find maximum between two numbers.
2. Python Program to check whether a number is negative, positive or zero. 3. Python Program to check whether a number is even or odd. 4. Python Program to find maximum between three numbers. 5. Python Program to check whether a given year is a leap year or not. 6. Python Program to take in the marks of 5 subjects and display the grade. 7. Python Program to check if a number is an Armstrong number. 8. Python Program to check whether a number is divisible by 5 and 11 or not.