The question for this is to make a program that simulates a TV by creating it
as an object. The user should be able to to enter a channel and or raise a
volume. Make sure that the Channel Number and Volume stay within valid
ranges. Before I can even start correcting my code this error shows up. I
thought I had already created the "tv" instance.
http://old.nabble.com/file/p31925053/Television Television 

Traceback (most recent call last):
  File
"/Users/vincentbalmori/Desktop/Python/py3e_source/chapter08/Television",
line 83, in <module>
    main()
  File
"/Users/vincentbalmori/Desktop/Python/py3e_source/chapter08/Television",
line 46, in main
    print(Television(tv.display))
NameError: global name 'tv' is not defined


-- 
View this message in context: 
http://old.nabble.com/Television-tp31925053p31925053.html
Sent from the Python - tutor mailing list archive at Nabble.com.

_______________________________________________
Tutor maillist  -  Tutor@python.org
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor

Reply via email to