dxnge

2

Oct 28th, 2021
63
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.10 KB | None | 0 0
  1. def f_gen(n):
  2.     x = -50
  3.     while x <= n:
  4.         print((x, x**2-5*x+13))
  5.         x += 1
  6. f_gen(50)
Advertisement
Add Comment
Please, Sign In to add comment