PYTHON_TASKS Telegram 2709
Что выведет код?
a, b = 1, 0
def divide1(a, b):
try:
return a / b
except ZeroDivisionError:
return None
def divide2(a, b):
try:
return True, a / b
except ZeroDivisionError:
return False, None

print(divide1(a, b), *divide2(a, b))



tgoop.com/python_tasks/2709
Create:
Last Update:

Что выведет код?

a, b = 1, 0
def divide1(a, b):
try:
return a / b
except ZeroDivisionError:
return None
def divide2(a, b):
try:
return True, a / b
except ZeroDivisionError:
return False, None

print(divide1(a, b), *divide2(a, b))

BY Python Tasks & ML | Задачи по питону и машинному обучению


Share with your friend now:
tgoop.com/python_tasks/2709

View MORE
Open in Telegram


Telegram News

Date: |

Find your optimal posting schedule and stick to it. The peak posting times include 8 am, 6 pm, and 8 pm on social media. Try to publish serious stuff in the morning and leave less demanding content later in the day. Telegram is a leading cloud-based instant messages platform. It became popular in recent years for its privacy, speed, voice and video quality, and other unmatched features over its main competitor Whatsapp. Choose quality over quantity. Remember that one high-quality post is better than five short publications of questionable value. How to Create a Private or Public Channel on Telegram? Channel login must contain 5-32 characters
from us


Telegram Python Tasks & ML | Задачи по питону и машинному обучению
FROM American