Skip to main content

Posts

Random Password Generator Using Python

  A  random password generator  is a software program, hardware device, or online tool that automatically generates a password using parameters that a user sets, including mixed-case letters, numbers, symbols, pronounceability, length, and strength. Here is the simple python code to generate password randomly. #random module import  random print ( "=================\nPassword Generator\n=================" ) print () #you can use more character here characters =  "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ!@_#$%&*0123456789" #Input  Number of password Num_Of_pass = int( input ( " How many passwords do you want?: " )) # Input length of password len_Of_pass = int( input ( ' Enter lenth of password you want to generate : ' )) print () print ( "Passwords are: " ) print () #for Number...

Prime Numbers Generator Using Python

python program to calculate the prime numbers. prime numbers are those number which are divisible by itself .  for e.g 2 , 3 ,5,7,11,13... etc are prime numbers. can you guess the output of the following program.??????  if yes please do comment .. def chechPrime (n): if n<= 1 : return False for i in range ( 2 , n): if n%i== 0 : return False else : return True for n in range ( 20 ): print (chechPrime(n) , n)
                               Hey there everyone !!!!!!!!!!!!! we are going to learn  python series soon from this blog.                               stay connected