Skip to content

Practise #01

Assignment 01

  1. Write a Python program to print 'Hello Python'?
  2. Write a Python program to do arithmetical operations addition and division?
  3. Write a Python program to find the area of a triangle?
  4. Write a Python program to swap two variables?
  5. Write a Python program to generate a random number?

Assignment 02

  1. Write a Python program to convert kilometers to miles?
  2. Write a Python program to convert Celsius to Fahrenheit?
  3. Write a Python program to display calendar?
  4. Write a Python program to solve quadratic equation?
  5. Write a Python program to swap two variables without temp variable?

Assignment 03

  1. Write a Python Program to Check if a Number is Positive, Negative or Zero?
  2. Write a Python Program to Check if a Number is Odd or Even?
  3. Write a Python Program to Check Leap Year?
  4. Write a Python Program to Check Prime Number?
  5. Write a Python Program to Print all Prime Numbers in an Interval of 1-10000?

Assignment 04

  1. Write a Python Program to Find the Factorial of a Number?
  2. Write a Python Program to Display the multiplication Table?
  3. Write a Python Program to Print the Fibonacci sequence?
  4. Write a Python Program to Check Armstrong Number?
  5. Write a Python Program to Find Armstrong Number in an Interval?
  6. Write a Python Program to Find the Sum of Natural Numbers?

Assignment 05

  1. Write a Python Program to Find LCM?
  2. Write a Python Program to Find HCF?
  3. Write a Python Program to Convert Decimal to Binary, Octal and Hexadecimal?
  4. Write a Python Program To Find ASCII value of a character?
  5. Write a Python Program to Make a Simple Calculator with 4 basic mathematical operations?

SOLUTIONS

Click Here
Back to top