The console is behaving weird


I have been trying to do one simple exercise using pyspark.
Its been more than two hours, either it gets disconnected by its own or hangs up.
unnecessary lines come up in between each line I type.

Its so frustrating.
Please tell me is it happening only with me or others are facing same issue as well.

Thanks in advance,


Same is the case with me … Please resolve