I decided to make myself a little bit more useful, so I thought that learning computer languages would be a pretty good idea. I started with python, because I everyone I asked recommended it for a beginner.
I found an interactive website to do some exercises before going to the developing tool for practice. I know most of you will laugh, but I got stuck at exactly this point:
x = object()
y = object()
# change this code
x_list = [x]
y_list = [y]
big_list = []
print "x_list contains %d objects" % len(x_list)
print "y_list contains %d objects" % len(y_list)
print "big_list contains %d objects" % len(big_list)
# testing code
if x_list.count(x) == 10 and y_list.count(y) == 10:
print "Almost there..."
if big_list.count(x) == 10 and big_list.count(y) == 10:
print "Great!"
Well, I figured out the big_list
. I have to write [x_list * 10 + y_list * 10]
The thing that I cannot figure out the last 30 minutes, is what values to I need to set in the object
brackets (1st line of the command)
Thanks for your help in advance!