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

Даны два числа. Если оба больше 8, то вывести их произведение, если хотя бы одно меньше 5, то вывести их сумму.

Ответы

Автор ответа: Аноним
0

#python 3.x

a = int(input())

b = int(input())

if (a > 8) and (b>8):

   print(a*b)

elif (a < 8) or (b<8):

   print(a+b)

Похожие вопросы
Предмет: Английский язык, автор: Lolita816
READING
Smartphones are very popular devices today. They are like little computers. Read the text about smartphone features.
Pre-reading activity. Match the words to their definitions.

1 networking
a) to convey from one person, place, or situation to another
2 processing
b) a standard way that information is encoded for storage in a computer file.
3 transfer
c) interacting with others to exchange information and develop professional or social contacts.
4 employ
d) a self contained piece of information available to the OS and its programs.
5 format
e) a flexible software sketchbook and a language for learning how to code within the context of the visual arts.
6 browser
f) the process of creating, extracting and moving all of the necessary files to run a program on a computer.
7 files
g) make use of.
8 installing
h) a computer program with a graphical user interface for displaying HTML files, used to navigate the World Wide Web.


Fill in the missing words (1-8) from the pre-reading activity.
A NEW SMARTPHONE HITS THE HIGH STREET
A new mobile phone was which is expected to revolutionise the use of keyboards on mobile devices. Modern phones encourage communication through texting withSMS and on social 1)_______________ sites. However, these phones are not actually very easy to type on! This new phone 2)_______________ innovative text-prediction software. The makers have also redesigned the keypad for effortless typing. Included with the phone is its own word 3)_______________software which allows users to 4)_______________text-including font, layout and spacing. You can even link wirelessly to your PC! This means you can 5) ____________ any document with a simple click. There is no need to access your Internet 6) ___________ to download a file from your web-mail. By 7)________________a simple application to your PC, the software can retrieve 8) ___________ from your phone automatically.
Предмет: Биология, автор: dmit3345