Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- from math import sin
- a = int(input())
- b = int(input())
- h = float(input())
- f = input()
- m = []
- x = a
- while (x <= b):
- m.append(eval(f))
- x += h
- print(max(m))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement