Advertisement
BobMe

Distribution Graph thing

Jan 28th, 2020
159
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.30 KB | None | 0 0
  1. local dis = .45
  2. local mean = 6
  3.  
  4. local low = mean-(dis*3)
  5.  
  6. local tab = {low}
  7.  
  8. for i=1,6 do
  9. low = low + dis
  10. table.insert(tab,low)
  11. end
  12.  
  13. local str = ""
  14.  
  15. for i=1,#tab do
  16. if i ~= #tab then
  17. str = str..tab[i]..", "
  18. else
  19. str = str..tab[i]
  20. end
  21. end
  22.  
  23. print(str)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement