daily pastebin goal
4%
SHARE
TWEET

Untitled

a guest Feb 22nd, 2019 62 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. def equirep(a,b,d):
  2.     res=[]
  3.     L=abs(a)+abs(b)
  4.     v=L/d
  5.     i=0
  6.     while i<d+1 :
  7.         res.append(a)
  8.         a = a+v
  9.         i = i+1
  10.     return(res)
  11.  
  12. print(equirep(-1,1,5)
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top