Write a menu driven program for following: a) display a Fibonacci series b) compute Factorial of a number c) to check whether a given number is odd or even. d) To check whether a given string is palindrome or not.
```python
# Menu Driven Program
def fibonacci_series(n):
a, b = 0, 1
series = []
for _ in range(n):
series.append(a)
a, b = b, a + b
return series
def factorial(n):
fact = 1
for i in range(1, n + 1):
fact *= i
return fact
def check_odd_even(num):
if num % 2 == 0:
return "Even"
else:
________ ___ __________ __________ ________ ________ __________ ____ ________ _______.
__________ _________ __________ ____ ________ _______.
____ ___ ________ _______ _________ _________ _________ ____ _________ ________ __________ _____.
_________ ___ __________ __________ ______ ______ _______ ____.
____ ______ ________ __________ __________ __________ __________ ___ ______.
________ ______ ______ ____ ________ _________ _____ _____ __________.
_________ ___ ______ ______ _______ ________ _______ _________ __________ ______.
_____ ________ __________ _________ ________ _______ _______.
_______ ______ __________ ________ __________ ________.
___ _________ ______ ______ _________ ________ ___ __________ _________.
_________ ______ ___ _______ __________ ____ _____ ________ _____.
________ _______ ____ _________ _______ ______ ___ ____ ______.
_________ _______ _________ _________ _____.
__________ _____ _________ ___ ___ ___ ____ ____ __________ _________ ____.
_______ ________ _______ _______ ______ ___ _____ ______ __________ ___ ____.
______ _______ __________ ______ ________ _____ ________.
_______ _____ _________ ____ ____ ____ _____ _______ _______ _________ _____ ____.
__________ ____ ________ ________ ________ ____ __________ _________.
___ __________ ___ ____ __________ __________ ___ _____.
_____ ______ __________ ______ ____ ________.
____ _________ ______ _________ ____ _____ ________ ______ __________ __________ _________.
_______ ________ ___ ____ _____ _____ _____ ________ ________.
___ ____ _______ ____ ____ ___ _________ _______.
__________ __________ ______ _____ _______.
_______ ___ ________ __________ __________ ___ __________ _________ _______ ___ ____ ______.
_______ __________ ___ ___ _____ __________ ____ __________ ____ _________.
_________ ___ _________ ___ __________ ______ __________ __________.
_____ __________ _____ ___ _____ _______ __________.
__________ _______ ____ _____ __________ ___ ________ ______ ____ _____ ___.
________ ______ ________ ___ ____ __________ ________.
____ _______ _______ _____ ___ _______.
__________ _________ ________ __________ __________ ______ ________.
________ _____ _____ ________ ____ ________ __________ _______ ____ ______.
_________ __________ _______ ________ ________.
______ ________ ___ ______ _____.
____ __________ ______ __________ _________ ______ ________ _____ _________ __________ ______.
________ _______ ____ __________ ___ __________ _______ ___ _____ ______ ______.
_________ ______ __________ _______ ________ _____ __________ ______ ____ ___ _______ ________.
___ _______ ____ ____ ______ _______ __________ ________ _______.
___ ___ ___ _______ _________ _____ ____ _________.
_______ ______ ___ ___ ________.
____ ___ _________ ______ _______ ___ _________ ____ ____ ____ _____.
________ _________ _____ _______ ______ _____ _____ ___ _____ ___.
_______ __________ _________ ________ ___ ______ _______ ___ _________ __________ ______.
__________ _________ ________ _________ ______ ___ ________ ____.
_______ _______ _____ _______ __________ ___ _______ _________ _______.
________ _______ _____ ________ _____ _______ _______ _________ ________.
___ ___ ______ ____ ___ ________.
________ _________ ____ ________ ________ ___ ______ ___.
________ _________ _______ ___ __________.
______ ______ _______ ___ _________ ________ _______ _________ ________.
_____ _____ ________ _______ _____ ____ ______ __________ _________ __________ _______ _______.
_______ ______ ___ ____ _______ _______ ______ ______ ____ ______ _____.
______ ______ ______ _____ ____ __________ __________ __________ _________ ______ _____ ________.
__________ _________ _________ ___ ____ ________ ________ ________.
____ ________ ___ ______ ____ __________ ________.
______ _____ __________ _______ ____ ____ ___ ____.
_________ ____ ______ ______ ________ _________ _________.
___ ______ ____ _____ __________ _____ ___ _____ _____ ____.
____ ___ _______ _________ ____ __________ ________ ________ ______.
____ ____ __________ _____ _____ _______ __________ _________ ___ _________ _____ ___.
________ ________ __________ ______ ___ _________ __________ __________ _____ ________ ____.
________ _______ _________.
Get Full Answer on WhatsApp