Ran this script both on the latest version of Python and on Python 2.7.6. For some reason, there's an indent at print(data) that I saw just now. I use TextWrangler - got any tips to help see and fix problems like this?
Code:
#!/usr/bin/pythonw
loop = 0
data = {}
while loop == 0:
theInput = input("Please type in either data or a command.")
if isinstance(theInput,int):
binInput = bin(theInput)
data.add(theInput)
print(data)