How do you do no. 3 booleans python


Replace this line with your code.

_strong text_


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


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


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.