#๐Ÿ”’ HELP WHY DOES IT KEEP ASKING ME TO TYPE IN INPUT AND NOT CONTINUING

29 messages ยท Page 1 of 1 (latest)

tepid ermine
fiery rootBOT
#

@tepid ermine

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.

modest tree
#

The screenshot quality is way too low

#

!paste for code please

fiery rootBOT
#
Pasting large amounts of code

If your code is too long to fit in a codeblock in Discord, you can paste your code here:
https://paste.pythondiscord.com/

After pasting your code, save it by clicking the Paste! button in the bottom left, or by pressing CTRL + S. After doing that, you will be navigated to the new paste's page. Copy the URL and post it here so others can see it.

modest tree
#

Or just post it

tepid ermine
#
name=""
while len(name) == 0:
    name = input("Enter your name: ")

print(f"Hello {name}")```
viral warren
#

I tested that code and it works for me.

#

How are you running your code?

tepid ermine
#

with visual studio

viral warren
#

Can you CTRL + C in your terminal, and rerun your code please?

modest tree
#

Show the output you receive

split loom
#

Youre' still running some older version of the code

#

Gotta kill it first

viral warren
#

Did it work @tepid ermine ?

tepid ermine
#

wait

viral warren
# tepid ermine

Did you CTRL+C to kill the current script and rerun the code?

tepid ermine
#

yes

split loom
#

I don't see a control-c. I see more attempts to run the code that aren't working beacuse vscode is just interacting with the old program again

turbid ravine
#

click in the terminal area, then press Ctrl+C

tepid ermine
#

ohhh my bad i thought u meant smth else in the start tysm

#

it worked

viral warren
#

Type !close to close this thread

tepid ermine
#

!close

fiery rootBOT
#
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.