Help me!


#1

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.


#2

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.


#3

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???
gracias


#4

Change this text to the assignment operator, =.


#5

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?
gracias


#6

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
bye


#7

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
gracias


#8

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.


#9

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


#10

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'


#12

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