Python Practicals and Term Work

B Tech (Biotechnology)

 Seventh Semester 2019

Python Practicals and Term Work

  1. Write a python to input three integers and print and maximum and minimum numbers. 
  2. Write a Python program that allows the user to enter exactly twenty numbers. The program then prints the sum, average (arithmetic mean), maximum, and minimum of the values entered.
  3. Write a Python program to check whether a number is Prime or not?Python program to demostrate the use of break and continue statements in Python with suitable program.
  4. Write a Python program to calculate and print the Area of a Circle. Input the radius from the keyboard. 
  5. Write a Python program to input a Person Name and age from keyboard and print whether the person “Name: “ is eligible to vote or not?
  6. Write a program in Python to print the first 10 elements of Fibonacci sequence. 
  7. Python program to create and perform the various on the Python List data structure.
  8. Python program to create and perform the various on the Python Tuple data structure.
  9. Python program to create and perform the various on the Python Sets data structure. 
  10. Python program to create and perform the various on the Python Dictionary data structure.
  11. Python program display the output: A B C D E F using one print statement.

Syllabus from First two UNITS: 


Python compiler and interpreter; Python language features and Benefits etc; 
Python program- variables, data types- scope and use of each type and statements with examples;
Python programs to input data, perform some operations and display the results.
Accessing variables without assigning values;
Python program to use the if control statement in various forms
Python program to use the loop control statement in various forms; Python program to enter N numbers. Then print the sum, average, maximum, and minimum of the numbers.
Python program to check whether a number is Prime or not?
Python Function; function to print first 10 numbers of Fibonacci series.
Passing arguments by value or by reference;
Negative index in Python, Converting numbers to a string
Python program to calculate and print the Area of a Circle. (Input the radius at run time).
Python program to check whether a number is Prime or not?
Python function to print first 10 numbers of Fibonacci series.
Python Practicals and Term Work Python Practicals and Term Work Reviewed by R S Rawat on November 28, 2019 Rating: 5

No comments:

Powered by Blogger.