0% found this document useful (0 votes)
5 views2 pages

Python Functions Programs

The document outlines five programming tasks based on Python functions. These tasks include finding the sum of digits of a number, reversing a number, checking for primality, counting vowels in a string, and printing the Fibonacci series up to n terms. Each task requires the creation of a specific function to achieve the desired outcome.
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
5 views2 pages

Python Functions Programs

The document outlines five programming tasks based on Python functions. These tasks include finding the sum of digits of a number, reversing a number, checking for primality, counting vowels in a string, and printing the Fibonacci series up to n terms. Each task requires the creation of a specific function to achieve the desired outcome.
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

Programs Based on Python Functions

1. Write a function to find the sum of digits of a number.

2. Write a function to reverse a number.

3. Write a function to check whether a number is prime or not.

4. Write a function to count vowels in a given string.


5. Write a function to print Fibonacci series up to n terms.

You might also like