0% found this document useful (0 votes)
11 views1 page

Python Data Analysis Assignment Guide

The document outlines an assignment for a 'Data Analysis using Python' course, requiring students to complete ten programming tasks, each worth 2 marks. Students must include their name and roll number on each A4 paper and submit the assignment by May 30, 2025. The tasks involve basic Python programming concepts such as conditionals, loops, functions, and list manipulation.

Uploaded by

t9204044
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)
11 views1 page

Python Data Analysis Assignment Guide

The document outlines an assignment for a 'Data Analysis using Python' course, requiring students to complete ten programming tasks, each worth 2 marks. Students must include their name and roll number on each A4 paper and submit the assignment by May 30, 2025. The tasks involve basic Python programming concepts such as conditionals, loops, functions, and list manipulation.

Uploaded by

t9204044
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

“Data Analysis using Python”- KJK

Assignment Questions
Instructions:

• Take A4 papers on top of every paper you write your name and Roll Number.
• All questions are mandatory and each question carries 2 Marks.
• Submit all the assignments on 30-05-2025 (Friday).

1. Write a Python program to check if a number is even or odd using an if-


else statement.
2. Accept marks from the user and print the grade according to the
following rules:

• 90 and above: A
• 75-89: B
• 60-74: C
• Below 60: Fail

3. Write a Python program to find the greatest among three numbers


entered by the user.
4. Write a program to check whether a character entered is a vowel or
consonant.
5. Write a program to print the multiplication table of a number entered
by the user using a while loop.
6. Write a Python program to calculate the factorial of a number using a
for loop.
7. Create a list of numbers and write a loop to print only even numbers
from the list.
8. Write a Python function to add two numbers and return the result.
9. Write a function called is_prime(n) that checks if a number is prime.
[Link] a function that accepts a list of numbers and returns the
maximum value.

You might also like