0% found this document useful (0 votes)
3 views1 page

Python Practice Exercises for Beginners

The document outlines a Python practice sheet for Week 1, featuring exercises such as checking if a number is even or odd, calculating factorials, checking for prime numbers, and generating Fibonacci sequences. It also includes tasks for summing digits, reversing strings, finding the largest of three numbers, counting vowels, checking for palindromes, and creating a simple calculator. Each exercise focuses on fundamental programming concepts and problem-solving skills in Python.
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)
3 views1 page

Python Practice Exercises for Beginners

The document outlines a Python practice sheet for Week 1, featuring exercises such as checking if a number is even or odd, calculating factorials, checking for prime numbers, and generating Fibonacci sequences. It also includes tasks for summing digits, reversing strings, finding the largest of three numbers, counting vowels, checking for palindromes, and creating a simple calculator. Each exercise focuses on fundamental programming concepts and problem-solving skills in Python.
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

Week 1 Python Practice Sheet

Check Even or Odd

Take an integer input and check if it's even or odd.

Find Factorial of a Number

Calculate the factorial of a given number using a loop.

Check Prime Number

Check if a number is prime or not.

Print Fibonacci Series

Generate Fibonacci sequence up to n terms.

Sum of Digits of a Number

Input a number and print the sum of its digits.

Reverse a String

Reverse the input string and print it.

Find Largest of 3 Numbers

Take 3 numbers and print the largest.

Count Vowels in a String

Count how many vowels are in the given string.

Palindrome Checker

Check if the entered string is a palindrome.

Simple Calculator (Add, Subtract, Multiply, Divide)

Take two numbers and an operator as input, then perform the operation.

You might also like