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