s = "line3 askdjfoqwuerulksdfjl"if s.startswith("line") and len(s) > 4 and s[4].isdigit(): print("Found")
Standard input is empty
Found
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!