Skip to main content
Commonmark migration
Source Link

[Python 3.5][1]Python 3.5, 39 bytes

lambda n:{*map(chr,range(32,127))}-{*n} 

[Try it online!]Try it online!
Turns input into a set, and remove it from the set containing all ascii characters [1]: https://docs.python.org/3/ [Try it online!]: https://tio.run/##K6gsycjPM/6fZhvzPycxNyklUSHPqlorN7FAIzmjSKcoMS89VcPYSMfQyFxTs1a3Wiuv9n9BUWZeiUaahpJHak5Ovo5CeH5RToqikqbmfwA "Python 3 – Try It Online"

[Python 3.5][1], 39 bytes

lambda n:{*map(chr,range(32,127))}-{*n} 

[Try it online!]
Turns input into a set, and remove it from the set containing all ascii characters [1]: https://docs.python.org/3/ [Try it online!]: https://tio.run/##K6gsycjPM/6fZhvzPycxNyklUSHPqlorN7FAIzmjSKcoMS89VcPYSMfQyFxTs1a3Wiuv9n9BUWZeiUaahpJHak5Ovo5CeH5RToqikqbmfwA "Python 3 – Try It Online"

Python 3.5, 39 bytes

lambda n:{*map(chr,range(32,127))}-{*n} 

Try it online!
Turns input into a set, and remove it from the set containing all ascii characters

added 2 characters in body
Source Link
mbomb007
  • 23.6k
  • 7
  • 66
  • 143

[Python 3]3.5][1], 39 bytes

lambda n:{*map(chr,range(32,127))}-{*n} 

[Try it online!]
Turns input into a set, and remove it from the set containing all ascii characters [Python 3][1]: https://docs.python.org/3/ [Try it online!]: https://tio.run/##K6gsycjPM/6fZhvzPycxNyklUSHPqlorN7FAIzmjSKcoMS89VcPYSMfQyFxTs1a3Wiuv9n9BUWZeiUaahpJHak5Ovo5CeH5RToqikqbmfwA "Python 3 – Try It Online"

[Python 3], 39 bytes

lambda n:{*map(chr,range(32,127))}-{*n} 

[Try it online!]
Turns input into a set, and remove it from the set containing all ascii characters [Python 3]: https://docs.python.org/3/ [Try it online!]: https://tio.run/##K6gsycjPM/6fZhvzPycxNyklUSHPqlorN7FAIzmjSKcoMS89VcPYSMfQyFxTs1a3Wiuv9n9BUWZeiUaahpJHak5Ovo5CeH5RToqikqbmfwA "Python 3 – Try It Online"

[Python 3.5][1], 39 bytes

lambda n:{*map(chr,range(32,127))}-{*n} 

[Try it online!]
Turns input into a set, and remove it from the set containing all ascii characters [1]: https://docs.python.org/3/ [Try it online!]: https://tio.run/##K6gsycjPM/6fZhvzPycxNyklUSHPqlorN7FAIzmjSKcoMS89VcPYSMfQyFxTs1a3Wiuv9n9BUWZeiUaahpJHak5Ovo5CeH5RToqikqbmfwA "Python 3 – Try It Online"

Source Link
Rod
  • 18.6k
  • 4
  • 32
  • 89

[Python 3], 39 bytes

lambda n:{*map(chr,range(32,127))}-{*n} 

[Try it online!]
Turns input into a set, and remove it from the set containing all ascii characters [Python 3]: https://docs.python.org/3/ [Try it online!]: https://tio.run/##K6gsycjPM/6fZhvzPycxNyklUSHPqlorN7FAIzmjSKcoMS89VcPYSMfQyFxTs1a3Wiuv9n9BUWZeiUaahpJHak5Ovo5CeH5RToqikqbmfwA "Python 3 – Try It Online"