Skip to content

Latest commit

 

History

History
 
 

python

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 

readme.md

Python Programming

Python Assignment

py Assignments

  1. Write a program to demonstrate the usage of various arithmetic operators.
  2. Write a program that makes use of trigonometric functions available in math module.
  3. Write a program that will convert various temperatures.(a) Fahrenheit to Centigrade (b) Centigrade to Fahrenheit
  4. Write a program that will find the roots of a quadratic equation: ax² + bx + c = 0
  5. Check a number enter by the user is odd or even
  6. Find the youngest amont syam , Dugu and Ishan whoes ages are enter by the user.
  7. 10. Write a program that will print the odd numbers from n1 to n2 where the values of n1 and n2 are entered by the user.
  8. 11. WAP to find factorial of a number enter by the user.
  9. 12. Write a program to print all prime numbers between n1 to n2 where the values of n1 and n2 are entered by the user.
  10. 15. Write a program to ask the data of five students that contain name, roll number, age. Sort the list based on roll number of the Student.
  11. 9 Given the point (x1,y1), (x2,y2), (x3,y3) WAP to check all the point falls on straight line.
  12. 13. Write a program to demonstrate basic operations on the list.
  13. 5. WAP to demonstrate String functions
  14. 6. WAP to that will ask you to enter your name, through keyboard, and perform following operations. (a)Find the middle name (b) Find the last name (using string slicing) (c)Re-write the name with surname first.
  15. 14. Write a program to demonstrate stack and queue operations using a list of numbers.
  16. 16. Write a program that will add two square matrices. The dimension and elements of the matrices will be entered by the user.
  17. 17. WAP to demonstrate basic Tuple operations

Py Classwork

  1. check palindrome from a given string
  2. print words with their lenght of a string.
  3. Even length word in a string.
  4. find uncommon word from string
  5. wap to find perfect num.
  6. WAP to check armstrong number.
  7. WAP to create a list of list containing science, arts and comerce (within them would be unique subject) check if the list elements are repeating or not and print only unique elements