S
S
Stas Ivanov2018-04-18 08:02:02
Python
Stas Ivanov, 2018-04-18 08:02:02

How to do text input in Python?

It is necessary to make text input in the program that would display
Enter IP | *Here you must enter the IP in the format 22.22.22.2.2*

Answer the question

In order to leave comments, you need to log in

1 answer(s)
I
Igor, 2018-04-18
@assembled

To you from the console? Then there is the input() function - it requests input from the user from the keyboard, and returns it as a string.
You can also do this: input ( "Enter IP") - displays an invitation to enter.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question