I want to write a code to read a input from user that include newline(enter key) Something like :
begin west north
north east east south
east end
and when I press enter , do something for example :
line = 0
if input=='\n':
line += 1
How can I do it!?