18 lines
265 B
Python
18 lines
265 B
Python
from turtle import *
|
|
|
|
|
|
vy = int(input())
|
|
vx = int(input())
|
|
waga = int(input())
|
|
opur=waga/10
|
|
while ycor() >= 0:
|
|
vy -= waga - opur
|
|
if vx - opur >= 0:
|
|
vx -= opur
|
|
else:
|
|
vx = 0
|
|
goto(vx + xcor(), vy + ycor())
|
|
print(vx, vy)
|
|
|
|
mainloop()
|