Stepnik 4.3 steps 12 and 13

module-4

#1

I’ve tried everything to answer this fill in the blank but I can’t come up with the right answer. I wrote the code in 12 and 13 just fine but can’t figure out what is wrong with fill in the blank


#2

Remember, when setting range, that the last number in your range function won’t appear in the generated set. It will be the last number minus one as the contained limit. The first number from the generated set IS contained in the range function. For step 13, notice that an x value is established, and a “while” loop, but that, within this loop, the x value does not change. Wouldn’t the x value continue with the same amount? Consider.


#3

I am having the same issue. Did you ever get it figured out?


#4

Thanks Mystified13. I kept putting (1, 40) and couldn’t figure out why it wouldn’t accept it.


#5

I am glad I could be of assistance.