Advertisement
BobMe

number to letter

Sep 11th, 2019
213
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.36 KB | None | 0 0
  1. local var = {9,6,27,25,15,21,27,18,5,1,4,27,20,8,9,19,28,27,25,15,21,29,18,5,27,7,1,25}
  2.  
  3. function changetoalph(x)
  4. local alphabet = {"a","b","c","d","e","f","g","h","i","j","k","l","m","n","o","p","q","r","s","t","u","v","w","x","y","z"," ",",","'"}
  5. return alphabet[x]
  6. end
  7.  
  8. local a = ""
  9.  
  10. for i=1,#var do
  11. a = a..changetoalph(var[i])
  12. end
  13.  
  14. print(a)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement