Python my_int Variables


#1



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.


#2

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

my_int = 7

and so on.


#3

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


#4

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