“Cómo usar entradas en Python” Código de respuesta

entrada de pitón

#Collecting The Input As A Variable:#
name = input('Please enter your name: ')
#Printing The Variable:#
print(name)
#Checking The Variable And Printing Accordingly:#
if name == 'Joe':
  print('Joe Mama')
Ruukasu

Python Cómo usar la entrada

#basic user handling for begginers

x = input("your question here") # when someone types something here that answer will be saved and be used for later

# for example 
print(x)
rubel1130

función de entrada python

make_a_variable_name = input("Put whatever question, or prompt as Python calls it, that the person will answer here.")
Faithful Ferret

Cómo usar entradas en Python

# python 3.8

YourInout = input("your text input")

print(YourInput)
Bloody Bat

Respuestas similares a “Cómo usar entradas en Python”

Preguntas similares a “Cómo usar entradas en Python”

Más respuestas relacionadas con “Cómo usar entradas en Python” en Python

Explore las respuestas de código populares por idioma

Explorar otros lenguajes de código