0% found this document useful (0 votes)
2 views2 pages

Python Homework Questions 8 June

The document contains a list of Python homework questions dated 08/06/2026, focusing on basic programming tasks such as checking number properties, eligibility criteria, and creating simple systems. It includes both primary and additional practice questions covering various topics like voting eligibility, grading systems, and discount calculations. The questions aim to enhance programming skills through practical applications.
Copyright
© All Rights Reserved
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% found this document useful (0 votes)
2 views2 pages

Python Homework Questions 8 June

The document contains a list of Python homework questions dated 08/06/2026, focusing on basic programming tasks such as checking number properties, eligibility criteria, and creating simple systems. It includes both primary and additional practice questions covering various topics like voting eligibility, grading systems, and discount calculations. The questions aim to enhance programming skills through practical applications.
Copyright
© All Rights Reserved
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

PYTHON HOMEWORK QUESTIONS

08/06/2026

1. Write a program to check whether a number is Positive, Negative,


or Zero.
2. Write a program to check whether a number is Odd or Even.
3. Write a program to check whether a person is eligible for voting or
not (Age ≥ 18).
4. Write a program to check whether a student has Passed or Failed
(Pass Marks = 33).
5. Write a program to find the greater number between two numbers.
6. Write a program to find the greatest among three numbers.
7. Write a program to check whether a number is a multiple of 5 or
not.
8. Write a program to check whether a given year is a Leap Year or
not.
9. Write a program to display the grade of a student according to the
following criteria:
1. Marks ≥ 90 → Grade A
2. Marks ≥ 80 → Grade B
3. Marks ≥ 70 → Grade C
4. Marks < 70 → Grade D
10. Write a program to create a simple login system that checks:

1. Username = admin
2. Password = 1234
Additional Practice Questions

1. Write a program to check whether a number is a multiple of 7 or not.


2. Write a program to check whether a character is a Vowel or a Consonant.
3. Write a program to find the smallest among three numbers.
4. Write a program to check whether a number is divisible by both 3 and 5.
5. Write a program to calculate the electricity bill:

 Up to 100 units → ₹5 per unit


 Above 100 units → ₹8 per unit

1. Write a program to check whether a person is a Child, Teenager, Adult, or


Senior Citizen based on age.
2. Write a program to check whether a number is a three-digit number or not.
3. Write a program to check whether a student has secured Distinction (Marks ≥
75), First Class (≥ 60), Second Class (≥ 50), or Pass.
4. Write a program to check whether a given day number (1–7) represents a
Weekday or Weekend.
5. Write a program to calculate the discount on a product:

 Purchase ≥ ₹5000 → 20% Discount


 Purchase ≥ ₹2000 → 10% Discount
 Otherwise → No Discount.

You might also like