How can you enter a comment on the same line after the input?

I know there is a print command
print("text",end=" conment")
And you can do this with input? -
To enter was between the text
March 23rd 20 at 19:20
2 answers
March 23rd 20 at 19:22
Solution
Regular means think can not be achieved in any way. Try to use the library for advanced work with a console interface, if you really need
For example: https://npyscreen.readthedocs.io/introduction.html
Thank you, handyman of, ahem.. hehe
Try to use - taurean_Williamson commented on March 23rd 20 at 19:25
March 23rd 20 at 19:24
As far as I know in the terminal such is not provided. Well, if "ending" insert in brackets?
x= int(input("Enter weight (kg): "))
w= int(input("Enter the length (mm): "))
h= int(input("Enter the height (mm): "))
No, it doesn't need to be
Enter the weight: "input field" [Note in kg] - taurean_Williamson commented on March 23rd 20 at 19:27
Then the terminal is forgotten. Study PyQt5 (Qt5) make their own GUI (user interface), and there has even invent hell - maryam commented on March 23rd 20 at 19:30

Find more questions by tags Python