So, I'm new to python and for the second day following an MIT course, when I use the following codes from the example py files provided, it encounters error and it had to be restarted to be used again.
The codes are as follows:
First one which crashes it is:
text = input("Type anything... ")This one crashes it too:
x = float(input("Enter a number for x: "))Mistake details are as follows:
Traceback (most recent call last): File "/home/fakamaz/anaconda3/lib/python3.9/site-packages/qtconsole/base_frontend_mixin.py", line 138, in _dispatch handler(msg) File "/home/fakamaz/anaconda3/lib/python3.9/site-packages/spyder/plugins/ipythonconsole/widgets/debugging.py", line 278, in _handle_input_request return super(DebuggingWidget, self)._handle_input_request(msg) File "/home/fakamaz/anaconda3/lib/python3.9/site-packages/qtconsole/frontend_widget.py", line 512, in _handle_input_request self._readline(msg['content']['prompt'], callback=callback, password=msg['content']['password']) File "/home/fakamaz/anaconda3/lib/python3.9/site-packages/qtconsole/console_widget.py", line 2422, in _readline self._show_prompt(prompt, newline=False, separator=False) TypeError: _show_prompt() got an unexpected keyword argument 'separator'Since I'm new to this, I have no idea what's going on and why it behaves like this. So any help is appreciated.