Right now, I'm working on "How to Think Like A Computer Scientist". I'm on Simple Tables. This lesson is making simple tables. The first example runs fine inside the browser, but when I take it Sublime, the \t symbol prints. It does not do this in the browser. I even copied the code right into sublime.
Here's my code:
print("n", '\t', "2**n")
print("---", '\t', "-----")
for x in range(13):
print(x, '\t', 2 ** x)
and my result is:
('n', '\t', '2**n')
('---', '\t', '-----')
(0, '\t', 1)
(1, '\t', 2)
(2, '\t', 4)
(3, '\t', 8)
(4, '\t', 16)
(5, '\t', 32)
(6, '\t', 64)
(7, '\t', 128)
(8, '\t', 256)
(9, '\t', 512)
(10, '\t', 1024)
(11, '\t', 2048)
(12, '\t', 4096)
How do I get the parenthesis and the \t symbol to go away. I know that the parenthesis shouldn't be there, so I'm confused with that and I have no idea how to get rid of the \t symbol without getting the "unexpected character" error.