Making a complete game with the following example:
import random
print 'guess a number'
a = raw_input()
b = random.randint(1,100)
print 'Is it ', b, '?'
if a == b:
print 'Yes! Correct!'
else:
print 'Sorry'
1. Make a guessing game where the player guesses the number generated by the computer
2. Make a guessing game where the computer guesses the number you think