1.

Write a function to calculate area and perimeter of a rectangle.

2.

Write a function to calculate area and circumference of a circle.

3.

Write a function to calculate power of a number raised to other. E.g.- a^{b}.

4.

Write a function to tell user if he/she is able to vote or not.

( Consider minimum age of voting to be 18. )

( Consider minimum age of voting to be 18. )

5.

Print multiplication table of 12 using recursion.

6.

Write a function to calculate power of a number raised to other ( a^{b} ) using recursion.

7.

Write a function “perfect()” that determines if parameter number is a perfectnumber. Use this function in a program that determines and prints all the perfect numbers between 1 and 1000.

[An integer number is said to be “perfect number” if its factors, including 1(but not the number itself), sum to the number. E.g., 6 is a perfect number because 6=1+2+3].

[An integer number is said to be “perfect number” if its factors, including 1(but not the number itself), sum to the number. E.g., 6 is a perfect number because 6=1+2+3].

8.

Write a function to check if a number is even or not.

9.

Write a function to check if a number is prime or not.

10.

Write a function to find factorial of a number but also store the factorials calculated in a dictionary as done in the Fibonacci series example.