Ayúdanos a dar forma a GoConqr. ¿Qué deberíamos añadir?

Fichas

Computer Science 30/11/2020 Homework

Brodie Thompson Inglés 8 fichas

Fichas del conjunto (8)

  1. 1Ask the user to enter a number and store that number in a variablenum = input ("Enter a number: ")
  2. 2Store the number 26 in a variablenum=26
  3. 3Multiply 5 by 10 and store the answer in a variablenum=5*10
  4. 4Multiply two variable values and store the answer in a variableprint ("Enter 2 Numbers")
    num1 = input ()
    num2 = input ()
    totalnum = (int(num1)) * (int(num2))
  5. 5Check if the value of one variable is larger than another variable (using an if statement and the > symbol)num1 = input()
    num2 = input()
    if (int(num1)) > (int(num2)) then
    print (num1)
    else
    print (num2)
  6. 6Output text (string) to the usertext = input ("Put in some text: ")
    print (text)
  7. 7Output the value of a variable to the usernum=35
    print (num)
  8. 8Output the text AND the value of the variable on one line, by using concatenation (+)text1 = input ("Put in some text: ")
    text2 = input ("Put in some more text")
    textotal= text1+text2
    print (textotal)

Información

Descripción
Fichas sobre Computer Science 30/11/2020 Homework, creado por Brodie Thompson el 30/11/2020.
Creado por
Brodie Thompson
Visitas
2
Valoración

Escríbenos

¿Sobre qué es tu mensaje?

¿Qué deberíamos añadir?