【答题赢鸿鹄币】Python
QUESTION 23Which statements are used for error handling in Python?
A. try/catch
B. catch/release
C. block/rescue
D. try/except
选详细解释和答案的给予20鸿鹄币奖励
Python使用Try/except/else/finally来处理编程上的错误处理
https://www.programiz.com/python-programming/exception-handling 答案:A wxmpcl 发表于 2021-7-2 16:34
答案:A
要解释 选A,这是Python的语法,Java和Python都是这个关健字 小乔 发表于 2021-7-6 09:58
要解释
这个太简单,真不知道咋解释 Max2020 发表于 2021-7-7 14:47
选A,这是Python的语法,Java和Python都是这个关健字
确定是选A不是D吗 Max2020 发表于 2021-7-7 14:47
选A,这是Python的语法,Java和Python都是这个关健字
The words “try” and “except” are Python keywords and are used to catch exceptions. For example:
try:
print 1/0
except ZeroDivisionError:
print ‘Error! We cannot divide by zero!!!’ 我选A
页:
[1]