Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ph = [[The quick brown fox jumps over the lazy dog]]
- ph = string.upper(ph)
- s = ""
- for i=0,25 do
- c = string.char(65 + i)
- f = string.find(ph, c)
- if (f == nil) then
- s = s .. c .. ", "
- end
- end
- s = string.sub(s, 0, s:len() - 2)
- if (s == "") then
- print("No letters are missing")
- else
- print("The letters " .. s .. " are missing")
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement