python projects tutorials code example

Example 1: python beginner projects

-Guess The Number. Write a programme
 where the computer randomly generates
 a number between 0 and 20
-Rock, Paper, Scissors Game
-Tic Tac Toe
-Password Generator
-Hangman
-Binary Search Algorithm

Example 2: python projects with source code for beginners

#Password generator 

import random
import string

letters = string.ascii_letters
print('Your brand new password is:')
print (''.join(random.choice(letters) for i in range(12)))