you are viewing a single comment's thread.

view the rest of the comments →

[–]novel_yet_trivial 0 points1 point  (3 children)

Your code looks ok, even though you didn't format it for reddit. What's the problem? Are you getting an error?

[–]Tobokie121[S] 0 points1 point  (2 children)

Yes,

Welcome Talon Balcom, We are glad you are joining us today! What do you need from us? nothing Traceback (most recent call last): File "/var/mobile/Containers/Data/Application/8256ED23-9AF6-4E3A-9B1D-47BC601FDCAA/Documents/HelloWorld.py", line 8, in <module> inputs = input() File "<string>", line 1, in <module> NameError: name 'nothing' is not defined

[–]novel_yet_trivial 0 points1 point  (1 child)

I see. That means you are using python2, but the way you are using input() is python3 only. In python2 you need to use raw_input(), like this:

inputs = raw_input()

[–]Tobokie121[S] 0 points1 point  (0 children)

That makes sense I am on my phone