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.