The document contains a set of Python programming problems for practice, including tasks such as checking if a number is even or odd, finding the largest of three numbers, and checking if a string is a palindrome. It encourages individuals to solve the problems independently without using AI tools, with answers to be provided later. The problems also cover topics like factorial calculation, Fibonacci sequence, list manipulation, and string analysis.
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 ratings0% found this document useful (0 votes)
7 views1 page
Week 1 Home Task
The document contains a set of Python programming problems for practice, including tasks such as checking if a number is even or odd, finding the largest of three numbers, and checking if a string is a palindrome. It encourages individuals to solve the problems independently without using AI tools, with answers to be provided later. The problems also cover topics like factorial calculation, Fibonacci sequence, list manipulation, and string analysis.
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
You are on page 1/ 1
Practice these problems and try to solve them
individually. Answers will be provided later. This is
not an evaluation, so avoid from using AI tools.
Python Problem Set
1.Write a Python program to check if a number is even or odd. 2.Write a Python program to find the largest of three numbers. 3.Write a Python program to check if a string is a palindrome. 4.Write a Python program to find the factorial of a number using a loop. 5.Write a Python program to print the Fibonacci sequence up to n terms.
6.Write a Python program to reverse a list.
7.Write a Python program to find the sum of all elements in a list.
8.Write a Python program to count the number of vowels in a given string. 9.Write a Python program to find the largest element in a list. 10.Write a Python program to swap two variables