0% found this document useful (0 votes)
15 views5 pages

Python Programming Assignment Tasks

The document outlines five programming assignments. The tasks include finding factors of a number, sorting words alphabetically, identifying numbers with all odd digits between 1000 and 3000, counting letters and digits in a string, and checking if a number is a palindrome. Each assignment provides specific instructions and hints for implementation.

Uploaded by

reddybm2910
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)
15 views5 pages

Python Programming Assignment Tasks

The document outlines five programming assignments. The tasks include finding factors of a number, sorting words alphabetically, identifying numbers with all odd digits between 1000 and 3000, counting letters and digits in a string, and checking if a number is a palindrome. Each assignment provides specific instructions and hints for implementation.

Uploaded by

reddybm2910
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

Assignment 1

1. Write a program to find the factors of a given number and check


whether the factor is even or odd
2. Write a code that accepts a sequence of words as input and
prints the words in a sequence after sorting them alphabetically.
Hint: Use split() to split the string into a list and then apply sort()
3. Write a program that will find all the numbers between 1000 and
3000 (both excluded) such that each digit of a number is an odd
number. Print the number of such elements
4. Write a program that accepts a string and calculates the number
of letters and digits.
5. Design a code which will find whether the given number is
Palindrome number or not.

You might also like