Looking for Алгоритмізація та програмування ННІ 4-25-101-102 Кб (2 сем) test answers and solutions? Browse our comprehensive collection of verified answers for Алгоритмізація та програмування ННІ 4-25-101-102 Кб (2 сем) at kursant.khnuvs.org.ua.
Get instant access to accurate answers and detailed explanations for your course questions. Our community-driven platform helps students succeed!
try:
raise KeyError("problem")
except ValueError:
x = 1
except KeyError:
x = 2
finally:
x += 3
print(x)
try:
int("10")
except:
x = 1
else:
x = 2
finally:
x *= 2
print(x)
def f():
try:
return 1
finally:
return 2
print(f())
x = 0
for i in range(2):
for j in range(2):
for k in range(2):
if i + j + k > 2:
continue
x += 1
print(x)
def f(x):
return x + 1
x = f
print(f(5) + x(4))
x = 1
y = 0
if x or y:
if not y:
y = x + y
for i in range(3):
for j in range(2):
if i == j:
break
else:
print(i)