Hi, I've taken a look at your code and your on the right track. Remember loops are an extremely important part of any program especially one like this. Below is a working guess the number game that requires you to input the number of max tries when you call the function.
Code:
#! /usr/bin/env python
# Guess the number game
import random
def main(max):
print "\tWelcome to
Leave a comment: