Home > other >  Python beginner, consult everybody a python test
Python beginner, consult everybody a python test

Time:11-16



CodePudding user response:

Try
X
except

CodePudding user response:

Since is Exception handling, that the first box is a try, corresponding the third box -- except, behind the except with Exception type, if you don't know the Exception type, you can talk with all exceptions, Exception,
The second frame is very simple, if is to judge of x, so the assignment statements above must be assigned to the x,

CodePudding user response:

1, try
2 x
3, except
  • Related