Предмет: Информатика, автор: 4s72fqdmcm

Познач результат виконання операторів:

a, b = divmod(3, 5)
print (a, b)

Ответы

Автор ответа: ILFV183
1

Ответ:

0 3

Объяснение:

divmod(x ,y) - возвращает следущий кортеж (x // y, x % y), то есть после выполнения кода в переменной  а будет ноль, 3 на пять не делится нацело, в переменной b будет 3, остача от деления 3 на 5 будет 3

Похожие вопросы
Предмет: Английский язык, автор: drozdovaelizaveta07
1 ‘Why ______ you ___ the computer?’ ‘I need to send an email.’
*
does you use
you are using
do you use
using
use
are you using
2 We _______ on Friday nights, because we’re usually too tired after work.
*
are going out
goes out
doesn`t go out
don`t go out
not go out
isn`t going out
3 She _______ to go out for a pizza. She’s going to stay at home
*
doesn`t want
not wants
isn`t wanting
wants
don`t want
aren`t wanting
4 _____ you ____to sit at the back or the front of the cinema?
*
do….prefer
are… preferring
does…prefer
is…prefer
are…prefer
is …preferring
5 He ________(always) rude comments about my clothes every time I see him!
*
is making
aren`t making
make
does make
making
makes
6 What time _________you ___ Gary to go to the cinema?
*
are meeting
do…..meet
is…..meeting
will …meet
meeting
does…meet
7 _______ (milk / freeze) at 0°C, or is it different from water?
*
freezes milk
milk freezes
do milk freeze
does milk freezes
does milk freeze
do milk freezes
8 The train to London _________ at 5 a.m. tomorrow
*
will leave
does .leave
does leaves
is leaving
leave
leaves
9 Can I call you back later? We ______ breakfast at the moment..
*
aren`t having
has
having
have
are having
don`t have
10 Chris ________ our help. He can finish the job on his own
*
need
needs
isn`t needing
doesn`t needs
doesn`t needing
doesn`t need
11 I know we met last year, but I ________ your name. I’m sorry!
*
doesn`t remember
don`t remember
isn`t remembering
remember
aren`t remembering
remembers
12 What ________ you ________ to the party?’ ‘I don’t know yet.’
*
am …wearing
is…wearing
do…wear
does…wear
do…wearing
are …wearing
Предмет: Химия, автор: alinochkakim98