Isn't this a variable?


#1



https://www.codecademy.com/courses/introduction-to-python-6WeG3/0/4?curriculum_id=4f89dab3d788890003000096#

Why is it wrong if we use my_int = 7? (error) i thought it's a variable and it's up to us?

I expected it to be just fine coz it's a variable


Replace this line with your code.


#2

@systempro40525,
You have to do as instructed,
as in the end
the code-checker
expects you to print the my_int variable
and it should then be 3


#3

so it's nnothing? it's just program to accept 1 answer and nothing else?


#4

@systempro40525 he said it correct the syntax and everything is fine and perfect but in codecademy you have to perform and write the same and exact variable names and values as you have been asked in the exercise..
Hope you understand.. :wink:


#5

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