Gistlib Logo

gistlib

wait for input in python

main.py
user_input = input("Please enter something: ")
print("You entered:", user_input)
81 chars
3 lines

similar python code snippets

read from stdin python in python
taking input and saving to string in python
calculate binary number from input in python
take 5 employee name inputs and store in a list, take corresponding age in second list. display minimum age and corresponding name in python
create a form in python
the program receives one line as input, which outputs the message "digit" (without quotes) if the string contains a digit. otherwise, print the message "there are no numbers" (without quotes). in python
create a rap song using 5 words using the command input in python
user interface for variable srednee_arifm in python in python
multiple input fields cannot be empty in python
keep asking the user for a number until the user enters the number 42 in python

related categories

python
input

gistlibby LogSnag