-
-
Save d3174/5f48e3c1b7dd5f1ff0d89279f4562082 to your computer and use it in GitHub Desktop.
kalkylator
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
print ('Приветствую вас в калькуляторе питон') | |
num1 = input ('Введите первое число: ') | |
num2 = input ('Введите второе число: ') | |
print ('Результат сложения: ',int (num1) + int(num2)) | |
print ('Результат вычитания: ',int (num1) - int(num2)) | |
print ('Результат умножения: ',int (num1) * int(num2)) | |
print ('Результат целочисленного деления: ',int (num2) % int(num1)) | |
print ('Благодарим за работу в нашей программе!') |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment