“Pregúntele a Python Programador” Código de respuesta

Cómo hacer una pregunta en Python

import tkinter as tk
from tkinter import simpledialog

ROOT = tk.Tk()

ROOT.withdraw()
# the input dialog
USER_INP = simpledialog.askstring(title="Test",
                                  prompt="What's your Name?:")

# check it out
print("Hello", USER_INP)
Rich Raccoon

Haga una pregunta sobre Python

Question = input("your question")
if Question == ("yes")
	print ("well done")
elif Question == ("no")
	print ("try again")
Long Lion

Pregúntele a Python Programador

l=[1,2,3] output in dict={1:'one',2:'two',3='three'}
MAHESH KUMAR

Respuestas similares a “Pregúntele a Python Programador”

Preguntas similares a “Pregúntele a Python Programador”

Más respuestas relacionadas con “Pregúntele a Python Programador” en Python

Explore las respuestas de código populares por idioma

Explorar otros lenguajes de código