vanshu25 / Python

All Python Program that I worked.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

List of Python Programs

  1. Write a program which will find factors of given number and find whether the factor is even or odd.
  2. Write a code which accepts a sequence of words as input and prints the words in a sequence after sorting them alphabetically.
  3. 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.
  4. Write a program that accepts a sentence and calculate the number of letters and digits.
  5. Design a code which will find the given number is Palindrome number or not.
  6. 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:
    1. At least 1 letter between [a-z]
    2. At least 1 number between [0-9]
    3. At least 1 letter between [A-Z]
    4. At least 1 character from [$#@]
    5. Minimum length of transaction password: 6
    6. Maximum length of transaction password: 12
  7. Write a for loop that prints all elements of a list and their position in the list. a = [4,7,3,2,5,9]
  8. Please write a program which accepts a string from console and print the characters that have even indexes.
  9. Please write a program which accepts a string from console and print it in reverse order.
  10. Please write a program which count and print the numbers of each character in a string input by console.

About

All Python Program that I worked.


Languages

Language:Python 100.0%