All Function programs in python with examples

In this article, we have explained the list of all alphabet function related programs in Python programming language. I have used python 3.7 compiler for debugging purpose.

  1. Write a Python function to find the Max of three numbers
  2. Write a Python function to sum all the numbers in a list
  3. Write a Python function to multiply all the numbers in a list
  4. Write a Python function to reverse given string
  5. Write a Python function to calculate the factorial of a number
  6. Write a Python function to check whether a number is in a given range
  7. Write a Python function that accepts a string and calculate the number of upper case letters and lower case letters
  8. Write a Python function that takes a list and returns a new list with unique elements of the first list
  9. Write a Python function that takes a number as a parameter and check the number is prime or not
  10. Write a Python program to print the even numbers from a given list
  11. Write a Python function that checks whether a passed string is palindrome or not
  12. Write a Python function that prints out the first n rows of Pascal’s triangle
  13. Write a Python function to create and print a list where the values are square of numbers between 1 and 20
  14. Write a Python program to access a function inside a function

Leave a Comment