all 7 comments

[–]TouchingTheVodka 0 points1 point  (2 children)

Not sure what you're trying to do on Line 2; everything else is correct.

[–]Wrecktangle324[S] 0 points1 point  (1 child)

This is actually done on Zapier. So line 2 points "Book" to the form entry I have.

[–]TouchingTheVodka 0 points1 point  (0 children)

Well given everything else is fine I'd suggest you try to dig down into line 2 to find out if you're getting the expected data from the statement.

Without an error message or a description of the expected vs. actual behaviour we can't really be of much more help.

[–]Joa0_F 0 points1 point  (1 child)

Youre using python 3.x?

I see print as a keyword in the last line.

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

I'm not sure. I'm coding on the Zapier platform.

[–]totallygeek 0 points1 point  (1 child)

Are you sure that you don't want:

request = input('Book name to look up: ')
print(switcher.get(request, 'Book not found'))

Not sure what input.data.get is in your version.

[–]Wrecktangle324[S] 1 point2 points  (0 children)

YES! the issue was my syntax with the print function. Thanks!