Python Codes
Python Codes
Output:
Output:
Output:
4. Write a program in Python to demonstrate all data types.
Output:
5. Write a program in Python to demonstrate all operators.
Output:
6. Write a program to input two integers, divide them and print the quotient and the remainder.
Output:
7. Write a program in Python to calculate the square root of the user entered number.
Output:
8. Write a program in Python to print the area of a circle for radius given by the user.
Output:
9. Write a program in Python to calculate area and perimeter of a rectangle, whose length and breadth are
entered by the user at the run time.
Output: