#🔒 Python error that seems weird

29 messages · Page 1 of 1 (latest)

calm tusk
#

I’m trying to run this basic code and it says this thing isint defined. Can someone tell me what I’m doing wrong?

burnt atlasBOT
#

@calm tusk

Python help channel opened

Remember to:

  • Ask your Python question, not if you can ask or if there's an expert who can help.
  • Show a code sample as text (rather than a screenshot) and the error message, if you've got one.
  • Explain what you expect to happen and what actually happens.

:warning: Do not pip install anything that isn't related to your question, especially if asked to over DMs.

foggy thunder
#

You need to first run the previous block

calm tusk
#

I just kinda push run.

foggy thunder
#

You select the name = ... line and run it

#

Then run the next line

calm tusk
#

I’ll try

#

So now whenever I run it it just spawns another line.

chrome ember
#

your line contains input() which is now expected you to type in a value

calm tusk
chrome ember
#

can you show a screenshot?

#

I've never actually worked with jupyter so this is just a guess

#

is there a reason you have to use jupyter?

calm tusk
calm tusk
chrome ember
#

you need to click the play button on the first cell

chrome ember
#

hm yeah, I'm not exactly sure how you're meant to provide input to a notebook cell

limber flicker
#

Are you coding on ipad or sth?

calm tusk
limber flicker
#

well, I think that is the problem

#

I think your the support for your OS is limited

calm tusk
#

Just tried it on another runner and now it works.

#

Thanks guys!

#

!close

burnt atlasBOT
#
Python help channel closed with !close

This help channel has been closed. Feel free to create a new post in #1035199133436354600. To maximize your chances of getting a response, check out this guide on asking good questions.