Answers for "line break input text html"

2

Line break in HTML with '\n'

white-space: pre-line;
Posted by: Guest on April-06-2020
0

break input loop

import sys, select

print "You have ten seconds to answer!"

i, o, e = select.select( [sys.stdin], [], [], 10 )

if (i):
  print "You said", sys.stdin.readline().strip()
else:
  print "You said nothing!"
Posted by: Guest on October-04-2021

Browse Popular Code Answers by Language