0

Python

In python exit() function in the called function raising an error and the calling function exception block is working ..how to rectify https://code.sololearn.com/cqOSnYRlt890/?ref=app

5th Aug 2023, 6:52 AM
CHENNAMSETTY SUMANTH
CHENNAMSETTY SUMANTH - avatar
5 Respuestas
+ 5
CHENNAMSETTY SUMANTH , Don't put your code in the comment...see your code is not fully visible... You write your code in code playground and save it and share the link of that here .. So we could found what is the issue...
5th Aug 2023, 7:49 AM
Riya
Riya - avatar
+ 2
Share your code
5th Aug 2023, 6:54 AM
Sakshi [Offline 🙃]
Sakshi [Offline 🙃] - avatar
0
Okay
5th Aug 2023, 7:51 AM
CHENNAMSETTY SUMANTH
CHENNAMSETTY SUMANTH - avatar
5th Aug 2023, 7:54 AM
CHENNAMSETTY SUMANTH
CHENNAMSETTY SUMANTH - avatar
0
You may have to call as "sys.exit()" and be sure to add "import sys" at top
6th Aug 2023, 5:14 AM
Trevor Oler
Trevor Oler - avatar