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

Python Practical List For Sep

Uploaded by

Sid1
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)
24 views2 pages

Python Practical List For Sep

Uploaded by

Sid1
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
You are on page 1/ 2

Python Programming Language Practical’s List

5 th Practical :-

1) Using python code sort the tuple in ascending and descending order5, -3, 0, 1,
6, -6, 2.

2) Write the python code to find the square of odd numbers from 1 to 20 using
while loop.

3)Write python program which deals with concatenation and repetition of lists.

List 1 =[15, 20, 25, 30, 35, 40]

List 2 = [7, 14, 21, 28, 35, 42]

a) Find List 1+ List 2


b) Find 9*List 1
c) Find 7*List 2

6th Practical :-

1) Find the data type of the following data by using python code.

a) Number
b) 31.25
c) 8+4j
d) Mathematics
e) 49

2) Using Python, find the eigenvalues and corresponding eigenvectors of the


matrix .
3 −2
[ ]
6 −4
3)Generate all the prime numbers between 1 to 100 using python code.

7th Practical :-

1) Use python code to evaluate each of the following expression.


a)20 modulas 2 + 7- (3 + 7) x 20 ÷ 2
b) 30 x 10 floor division 3 + 10 modulus 3.
c) 25 – 24 + 4 floor division 4.

2) Repeat the following string 11 times using the string operator ‘*’ on
python .

a) LATEX b) MATLAB

8th practical :-
1) Write the python Program to generate the square of numbers from 1 to 20.
2) Write the python code to find eigenvalues and Corresponding eigenvectors of
the matrix,
1 3 3
A = [2 2 3]
4 2 1

You might also like