EOF Errors Exception Handling in Python IV(CodeChef), How to solve NZEC error in codechef ide?

preview_player
Показать описание
exceptions:

ZeroDivisionError : division by 0
OSError: _________
ImportError : when an import fails like you have imported math package
butwhen you used that math method then it become non responsive then this error
comes into play
IndexError : it happens in array when an array index is out of range

NameError : when an unknow variable is used in function other than defined variable
(python me you don't have that assumed variable or something like that it is purely defined variable in every case)

SyntaxError : Common Error when you write integer insted of float and assume it to 5.984

TypeError : a funcxtion is called on a value of inappropriate type

ValueError : function is called on value of correct type but with inappropriate value
Рекомендации по теме
Комментарии
Автор

Thank you very much. You solved my only problem in codechef submissions using python.

ranitbandyopadhyay
Автор

Bro do you able to help me to solve EOFError on my this code please?

import os
print("[+] Installing requierments ...")
os.system('pip install telethon==1.24.0')
os.system('pip install colorama==0.4.3')
os.system('pip install BeastX==0.3')

print("[+] setup complete !")
print("[+] now you can run any tool !")
input('\n Press enter to exit...')
#requirements

jannatunferdaus
Автор

Will i get marks if i submit my code with an eof error

bishalchatterjee
Автор

Should we ignore this error and submit?

nirmalyasasmal
join shbcf.ru