Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #99196
| Newsgroups | comp.lang.python |
|---|---|
| Date | 2015-11-20 22:54 -0800 |
| Message-ID | <e5d80196-61c5-44d9-bec8-dc563d58fa6a@googlegroups.com> (permalink) |
| Subject | Traceback error |
| From | Cai Gengyang <gengyangcai@gmail.com> |
This is a piece of code about comparators : j# Assign True or False as appropriate on the lines below! # Set this to True if 17 < 328 or to False if it is not. bool_one = 17 < 328 # We did this one for you! # Set this to True if 100 == (2 * 50) or to False otherwise. bool_two = 100 == (2 * 50) # Set this to True if 19 <= 19 or to False if it is not. bool_three = 19 <= 19 # Set this to True if -22 >= -18 or to False if it is not. bool_four = -22 >= -18 # Set this to True if 99 != (98 + 1) or to False otherwise. bool_five = 99 != (98 + 1) When I tried to run it, this is the error I got : Traceback (most recent call last): File "python", line 1, in <module> NameError: name 'j' is not defined Any ideas how to debug this ? Thanks a lot! Appreciate it Cai Gengyang
Back to comp.lang.python | Previous | Next — Next in thread | Find similar | Unroll thread
Traceback error Cai Gengyang <gengyangcai@gmail.com> - 2015-11-20 22:54 -0800
Re: Traceback error "Frank Millman" <frank@chagford.com> - 2015-11-21 09:26 +0200
Re: Traceback error Cai Gengyang <gengyangcai@gmail.com> - 2015-11-20 23:33 -0800
Re: Traceback error dieter <dieter@handshake.de> - 2015-11-21 08:31 +0100
csiph-web