Skip to main content
Ask a Question
Asked a question 11 months ago

a=int(input("ENter a number")) if(a==10): raise Memoryerror("Don't enter 10") except Memoryerror as e: print(e) iam not able to run this code as it is showing syntax error at except line as "Memory error not defined" please help

Fuel your ambition, discover your passion and achieve your professional goals with LetsUpgrade.
Sign Up Now