Im stuck at Booleans lesson 3


#1

<PLEASE USE THE FOLLOWING TEMPLATE TO HELP YOU CREATE A GREAT POST!>

<Below this line, add a link to the EXACT exercise that you are stuck at.>

<In what way does your code behave incorrectly? Include ALL error messages.>

<What do you expect to happen instead?>

```python

Replace this line with your code.

<do not remove the three backticks above>

#2

https://www.codecademy.com/courses/learn-python/lessons/python-syntax/exercises/booleans?action=lesson_resume

<7
1.23
Traceback (most recent call last):
File “python”, line 14, in
NameError: name ‘my_boo1’ is not defined>


#3

please copy paste your code to the forum, the url will check for user and load that users code, so if i click it, i get my own code, not your code


#4

dude i didnt understand what you are saying


#5

You need to copy paste your code from the lesson to the forum, otherwise i don’t know what your code is, so can’t help you


#6

Set the variables to the values listed in the instructions!

my_int = 7
my_float = 1.23
my_boo1 = True
a = True
b = False

Write your code above!

print my_int
print my_float
print my_bool

this 1?


#7

Booleans
Great! You just stored a number in a variable. Numbers are one data type we use in programming. A second data type is called a boolean.

A boolean is like a light switch. It can only have two values. Just like a light switch can only be on or off, a boolean can only be True or False.

You can use variables to store booleans like this:
image


#8

here:

my_boo1 = True

you use 1 (number), this should be letter l (leon)


#9

image


#10

wait let me try dont go


#11

thank you very much bro


#12