- Write a program which will find factors of given number and find whether the factor is even or odd.
- Write a code which accepts a sequence of words as input and prints the words in a sequence after sorting them alphabetically.
- Write a program, which will find all the numbers between 1000 and 3000 (both included) such that each digit of a number is an even number. The numbers obtained should be printed in a comma separared sequence on a single line.
- Write a program that accepts a sentence and calculate the number of letters and digits.
- Design a code which will find the given number is Palindrome number or not.
- A website requires a user to input username and password to register. Write a program to check the validity of password given by user. Following are the criteria for checking password:
- At least 1 letter between [a-z]
- At least 1 number between [0-9]
- At least 1 letter between [A-Z]
- At least 1 character from [$#@]
- Minimum length of transaction password: 6
- Maximum length of transaction password: 12
- Write a for loop that prints all elements of a list and their position in the list. a = [4,7,3,2,5,9]
- Please write a program which accepts a string from console and print the characters that have even indexes.
- Please write a program which accepts a string from console and print it in reverse order.
- Please write a program which count and print the numbers of each character in a string input by console.