Avatar ·

Multi -line input ()

📁 функция, python, вопрос, пример, ии

How can you make a multi-line Input (), because this function when entering certain characters and then press on Enter if the program consists only of

  a =  input  ()   print  (a)     

just the question: is it possible to make an Input () end when clicking on a certain button, for example, ESC