Python3, 100 89 bytes
import sys,select
print("no input received"[3*any(select.select([sys.stdin],[],[],10)):])
First try at golfing.
-4 for any()
, -7 for slicing, thanks @user2357112!
2 of 4 | Clever slicing, and use any rather than bool(..)[0] | ||||
Python3,
|