Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # _*_ coding: utf-8 _*_
- print ("Напишите количество сенокосилок")
- n = int(input())
- print ("Сколько часов работает первая из них?")
- m = int(input())
- m = m * 60
- x = 1
- t = m
- while x < n:
- c = m + (10 * x)
- t = t + c
- x = x + 1
- print (t)
Advertisement
Add Comment
Please, Sign In to add comment