Help. Basic problem


#1

Hi I need help in some basic python stuff.

This one specifically: https://www.codecademy.com/courses/learn-python/lessons/python-syntax/exercises/numeric-datatypes?action=resume_content_item

Can someone help? I can’t get past the first step. I keep on putting cucumber = 1 but it keeps telling me I’m wrong and I tried all different combinations.


#2

Should that be, cucumbers, as in plural?


#3

Sorry that was a typo. I’ve tried both ways and none has worked


#4

If this is the first step, then Reset the lesson and enter the correct variable name. Set it to 1 since that is the suggested minimum.


#5

Hi, sorry for the late reply

I’ve tried this but still tells me I’m wrong. I feel like I’m missing something obvious. For reference I’m putting cucumbers = 1


#6

Did you reset the lesson and start from scratch, again?


#7

Yea I’ve done it a couple of times now and I still get the red x


#8

Don’t know what to suggest, as this is not common problem that I’m aware of. Try a different browser, perhaps? Be sure to Reset the workspace.


#9

First put int1 = 1
Then, cucumbers = int1
You can put any number in place of 1, as long as its an integer, and later for decimals use float1 instead of int1


#10

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.