0% found this document useful (0 votes)
6 views12 pages

Python Programming Exercises for Beginners

Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as ODG, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
6 views12 pages

Python Programming Exercises for Beginners

Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as ODG, PDF, TXT or read online on Scribd

SUBMITTED BY : __Mayank Dahiya__

CLASS & SEC : ____10th A____


SUBMITTED TO : __Ms . Seema Pahal__
INDEX
S.N. Content Remarks
Write a Python program to input two numbers and calculate
1
addition, difference, multiplication and division.
Write a Python program to check whether the given number is
2
even or odd.
Write a Python program to find the maximum number out of
3
the given three numbers.
Write a Python program to print total number of vowels in an
4
inputted string.
5 Write a Python program to make simple sentiment checker.
6 Write a Python program to find the factorial of a number.
Write a Python program to print Fibonacci series up to 20
7
numbers.
Write a Python program to print multiplication table of a
8
number.
Write a Python program to add the elements of the two lists.
9 Given: List1 = [12, 10, 22, 34, 42, 50]
List2 = [18, 24, 40, 28, 14, 28]
Write a Python program to calculate mean, median and mode
using Numpy. Create a Numpy ndarray object by using the
array() function storing values: [12, 34, 22, 30, 26, 18, 20, 24,
42, 10].Using the above values, write Python codes to perform
10
the following tasks:
• Mean of the array object
• Median of the array object
• Mode of the array object
11 Write Python program to display line chart from (2,5) to (9,10).
Write a Python program to display a scatter chart for the
12
following points: (2,5), (9,10), (8,3), (5,7), (6,18).
Write a Python program to read csv file saved in your system
13
and display its information.
Write a Python program to read csv file saved in your system
14
and display 10 rows.
15 Write a Python program to read an image and display it.
[Link] a Python program to input two numbers and calculate
addition, difference, multiplication and division.
Input :

output :
2. Write a Python program to check whether the given
number is even or odd.
Input :

output :
3. Write a Python program to find the maximum number out
of the given three numbers.
Input :

output :
4. Write a Python program to print total number of vowels in
an inputted string.
Input :

output :
[Link] a Python program to make simple sentiment checker.
Input :

output :
6. Write a Python program to find the factorial of a number.
Input :

OUTput :
7. Write a Python program to print Fibonacci series up to 20
numbers.
Input :

OUTput :
8. Write a Python program to print multiplication table of a
number.
Input:

Output:
9. Write a Python program to add the elements of the two
lists.
Given: List1 = [12, 10, 22, 34, 42, 50]
List2 = [18, 24, 40, 28, 14, 28]
Input:

Output:
10. Write a Python program to calculate mean, median and mode using Numpy. Create a Numpy
ndarray object by using the array() function storing values: [12, 34, 22, 30, 26, 18, 20, 24, 42,
10].Using the above values, write Python codes to perform the following tasks:
• Mean of the array object
• Median of the array object
• Mode of the array object

Input :

OUTput :

You might also like