How do you do no. 3 booleans python


#1



Replace this line with your code.

_strong text_


#2

my_int = 7 True
says
File "python", line 2
my_int 7 True
^
SyntaxError: invalid syntax


#3

You are asked to define 3 variables, my_int with value 7, my_float with value 1.23, my_bool with value True.
To assign value to variable you should use = (assignment operator). Example

variable = 10
other = 5.43

#4

You have set my_int to 7. The "True" after that is messing it up. You need to hit enter to start a new line and set the variable my_bool to equal True.