【简答题】try: except: else: finally: 当没有发生异常时A. 执行语句块2 B. 执行语句块3 C. 执行语句块2和语句块4 D. 执行语句块3和语句块4
【单选题】try: except: else: finally: 当没有发生异常时
【简答题】听对话,回答1-3小题 1. What's the boy 's last name? A. Green B. Bill C. Miller 2. What's Tina's phone number? A. 799-8420 B. 799-8520 C. 699--8402 3. Who is Mike? A. Tina's friend B. Tony's brother C. Bill's ...
【判断题】在try...except...else结构中,如果try的语句引发了异常则会执行else中的代码。
【单选题】小地瓜写了一段代码,看看有没有错误吧! try: f = open('temp.txt','w') print(f.write('到底写进去了没有呢?')) sum = 1 + '1' else OSError as reason: print('不存在这个文件' + str(reason)) except TypeError as reason: print('类型错误' + str(reaso...
【单选题】What will definitely happen upon Telstar Tina's reentry?
A.
It will distintegrate.
B.
There could be damage to houses.
C.
The satellite will no longer function.
D.
Many pieces will fall into the oceans.