New course!
Every coder should learn
Generative AI!
Try a free lesson
Courses
Courses
Code Compiler
Code Compiler
Discuss
Get Pro
Teams
Log in
Register
Menu
Q&A Discussions
Search
Search
Ask a question
Ask a question
Assertion with try and except: example
assertions
python
2 Votes
2 Answers
26th Feb 2017, 1:05 PM
Andrea Mattè
Meaning of Try: and Except: in Python
cpython
else-statements
except:
if-statements
methods
try:
3 Votes
2 Answers
10th Dec 2019, 9:09 PM
E∆SI🇳🇬🤖
try: num = 5 / 0 except: print("An error occurred") raise
exceptions
python
0 Votes
3 Answers
24th Apr 2017, 4:24 AM
arun kumar
user_input=input: x = float(input(''enter number'')) While x != 1 try: x/2 except: x*3+1
code
python
0 Votes
9 Answers
10th Nov 2016, 6:55 PM
leonardo
How to handle the exceptions which are occured inside except: block?
exceptions
python
0 Votes
1 Answer
17th Feb 2017, 7:15 AM
sampath sai
Ask a question
Ask a question
Ask a question
Ask a question
Hot today
Why sololearn did not allow us to...
1 Votes
[SOLVED] Ballpark Challenge
1 Votes
Help me learn how to use .value in Javascript please!
1 Votes
How to use ‘variables’ in a ‘python’ string
1 Votes
Array of Object to Object using reduce()
0 Votes
How to get Kotlin certificate here
2 Votes
HELP. UNFAIR STREAK LOSS
2 Votes
Who will
0 Votes
There is an error.
0 Votes
Guys , My Websie is working good At desktop but not at mobile. Please check my HTML code ! I code mostly in VS code (desktop)
0 Votes