Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- def f_x(x):
- try:
- y = 1 / (x + 1) + x / (x - 3)
- return y
- print("f(", t, ") = ", y)
- except:
- print('невозможное значение')
- t = float(input("t = "))
- y = f_x(t)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement