0
If you want the input placeholder to say something how do you do it?
Hey guys how do you make an input placeholder in python?
2 odpowiedzi
+ 2
Due to the way is handled input/output in sololearn code playground that's not possible here... but if you run your code on your device, the input argument (parameter) will be printed just before awaiting for user entry...
So:
inp = input("enter something and hit return to validate: ")
have same behavior than:
print("enter something and hit return to validate: ",end="")
inp = input()
+ 1
Do you mean a prompt?
e.g.
name = input("Type in your name:- ")