#I have a doubt in this python code.

13 messages · Page 1 of 1 (latest)

carmine flower
#

Well I'm new to this whole coding thing. And im learning python from replit
I typed what the replit lesson plan asked me to
But running the code isn't getting me the whole code I've written down in main.py.

paper mist
#

What are you trying to get the code to do?

#

input() waits you to write something into the terminal/shell/console, and hit enter, and it'll continue afterwards

#

You wrote the person/thing/place/rhyme into the strings inside the print()?

carmine flower
#

Oh lol I deleted my text. I'm so dumb im sorry

paper mist
#

input() prints the string inside it, and then waits until you input something else into the shell, and press enter to send it

#

So, it won't get the name or any of those if you just write it into the string inside the input()

#

Whoops, typo

carmine flower
#

Would you explain it by directly writing the code where I did the mistake. Cause I can't understand what you're trying to say. I'm really new at this. And I'm dumb too. It's okay though if you don't want to write it all down I'll try to decipher what you tried to say. Thank you though.

rugged spruce
#

Try running your code, then try typing in something and hitting enter, the input function will store the thing you typed inside the variable

queen orioleBOT
#

@paper mist has no recent help posts in #1049001614922481755.