Please note, this is a STATIC archive of website www.tutorialspoint.com from 11 May 2019, cach3.com does not collect or store any user information, there is no "phishing" involved.
Tutorialspoint

input

print "Hello World!\n"
num_1 = int (input ("Введите 1 число: \n"))
num_2 = int (input ("Введите 2 число: \n"))
num_3 = int (input ("Введите 3 число: \n"))
res = num_1 + num_2 + num_3
print ("Добавление чисел: \n", res)
res = num_1 - num_2 - num_3
print ("Вычитание чисел: \n", res)
print ("Умножение чисел: \n", num_1 * num_2 * num_3)
print ("Деление чисел: \n", num_1 / num_2 / num_3)
print ("Остаток при делении чисел: \n", num_1 % num_2 % num_3)

Advertisements
Loading...

We use cookies to provide and improve our services. By using our site, you consent to our Cookies Policy.