Help me!


hey guys who can help me in this unit, my problem is this united is talking about "booleans" and i don't know do. thanks. the program lenguaje is python.


A boolean is one of True or False. They are the booleans being referred to.

if x == 0:

The above is a conditional expression that will return a boolean. True if x is zero, False if not.

Any comparison will yield a boolean.

y > x

y < x

y >= x

y <= x

y == x

y != x

All of the above are boolean expressions.


la duda que tengo es como hago esto:
Establecer las siguientes variables a los valores correspondientes:

my_int al valor 7
my_float al valor 1.23
my_bool al valor True
como lo hago???


Change this text to the assignment operator, =.


miralo porfavor quien pueda que me responda se lo estaria agradecido.
my_int = 7
my_float = 1.23
my_bool = True
asi me da error tengo bien fijate en los espacios es decir cuentan?


thanks friend my problem was the first lettre of "true" was written in lower case but the correct variabe is in capital lettre.
thanks for your time


usted es español o inlges, usted sabe programar ya con python, eres profesor.
como puedo contactar con un usted para que me enseñe.
disculpa por las preguntas


English ... I use Google Translate for other languages.

Easiest way to contact me is to post your question in the appropriate forum and then invite me to the topic. I do not help privately.


vale gracias pero como te invito al tema? gracias por su tiempo.


At the bottom of the thread is row of buttons:

'Bookmark Share Flag Invite Reply'

n la parte inferior del hilo está la fila de botones:

'Señal Compartir Bandera Invitar Responder'


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