Lastly, with any Python challenge, I ALWAYS get people asking "can I use a different language", this time, I want to challenge you to use Python. You can use an Online Interpreter to test your code, so you won't even need to download anything new. On top of that, there are so many python resources out there, it should be easy for you to create something, ANYTHING!
Your submission can be multiple lines if you need extra code to set things up, so for example, here's my one liner. It's based on Dogstopper's Character Flipper snippet.
def inverter(original = None):
if original == None:
original = input(">>> ")
return ''.join([char.upper() if char.islower() else char.lower() for char in str(original)])
Notice how my submission is 4 lines, but only 1 line (number 4) will be judged.
Good luck everyone, and I hope to see a lot of participation!

New Topic/Question
Reply



MultiQuote








|