I'm running this code in Spider:
Word = input ('Insert Yor Word: ')
Aouie = ['A', 'a', 'O', 'o', 'U', 'u', 'I','i', 'E', 'e' ]
Word_Size =[]
Aouie_Collection =[]
Not_Aouie_Collection = []
Spaces =[]
for letter in Word:
if letter == " ":
Spaces.append(Spaces)
elif letter in Aouie :
Aouie_Collection.append(letter)
else:
Not_Aouie_Collection.append(letter)
Word_Size.append(letter)
print ('The Word Contain these Charecters: ', Word_Size)
print ('This Word had These Aouie Letters: ', Aouie_Collection)
print ('This Word had These non Aouie Letters: ', Not_Aouie_Collection)
print ('Your Input Word Charecter Size is: ', len(Word_Size))
print ('The Number of Aouie letters found is: ', len(Aouie_Collection))
print ('The Number of non Aouie letters found is: ', len(Not_Aouie_Collection))
print ('Number of Spaces are: ', len(Spaces))
print ('Your Input without Spaces have ', len(Word_Size)-len(Spaces), 'Letters')
What I have tried:
It face "Spyder has encountered an Internal Problem! "
and list these :
<pre>Traceback (most recent call last):
File "C:\ProgramData\Anaconda3\lib\site-packages\qtconsole\base_frontend_mixin.py", line 138, in _dispatch
handler(msg)
File "C:\ProgramData\Anaconda3\lib\site-packages\spyder\plugins\ipythonconsole\widgets\debugging.py", line 278, in _handle_input_request
return super(DebuggingWidget, self)._handle_input_request(msg)
File "C:\ProgramData\Anaconda3\lib\site-packages\qtconsole\frontend_widget.py", line 512, in _handle_input_request
self._readline(msg['content']['prompt'], callback=callback, password=msg['content']['password'])
File "C:\ProgramData\Anaconda3\lib\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'
What should I do?
Also the code run successfully in IDLE, But it didn't work in Spider