Python my_int Variables


Python Syntax

File "python", line 3
Float_variable my_float 1.23
SyntaxError: invalid syntax

what did i do it says that i should create a variable for my_int and i tried which would have been either my_int_variable or myint_variable and it still says the same thing what did i do or what did it do

my_int 7
my_float 1.23
my_bool True.


Remember to complete the statement by including the assignment operator, =

my_int = 7

and so on.


Thank you i was honestlty gonna be stuck on this forever I havent coded in a long time and i forgot lots of things


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