On Wed, Jan 4, 2017 at 10:49 AM,  <cr2...@hotmail.co.nz> wrote:
> Im doing a new task from my teacher but i can't seem to find what is wrong 
> with this code. Can anyone help?
>
> #mynumber.py
> # this game uses a home made function
> import random
>
> #think of a number
> computer_number = number.randint(1,100)

What's wrong is that you aren't showing us the exception you get on
this line. *Copy and paste* that exception - the whole thing. It's
very helpful.

ChrisA
-- 
https://mail.python.org/mailman/listinfo/python-list

Reply via email to