¡GoConqr estrena diseño! Cuéntanos qué te parece.

Fichas

Sin título

Ben Donachie Inglés 8 fichas

Fichas del conjunto (8)

  1. 1Ask the user to enter the number and store itnumber = input("Please enter a number: ")
  2. 2Store the number 26 in a variablenumber = 26
  3. 3Multiply 5 and 10 and store it in a variablenumber = 5 * 10
  4. 4Multiply two variable values and store the answer in a variableanswer = int(number1) * int(number2)
  5. 5Check if one variable has a larger value than anotherif number1 > number2 then
    print(number1)
    else
    print(number2)
  6. 6Output stringprint("Hello")
  7. 7Output variable valueprint(number)
  8. 8Output text and variable valueprint("The number is" + str(number))

Información

Descripción
Fichas sobre Sin título, creado por Ben Donachie el 02/12/2020.
Creado por
Ben Donachie
Visitas
0
Valoración

Escríbenos

¿Sobre qué es tu mensaje?

¿Qué te parece el nuevo diseño?

¿Te gusta?