Advertisement
Spocoman

01. Integer Operations

Jan 18th, 2022 (edited)
114
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.28 KB | None | 0 0
  1. first_num = int(input())
  2. second_num = int(input())
  3. third_num = int(input())
  4. fourth_num = int(input())
  5.  
  6. print(int((first_num + second_num) / third_num) * fourth_num)
  7.  
  8. Taрикатско решение:)
  9.  
  10. print(int((int(input()) + int(input())) / int(input())) * int(input()))
  11.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement