How to make the text not repeat [closed] - python

Closed. This question needs debugging details. It is not currently accepting answers.
Edit the question to include desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem. This will help others answer the question.
Closed 1 year ago.
Improve this question
In this photo, you can see it is repeating even though I didn't put any code for it to do so. I want to make sure it also is not happening to the other ones like the (e)open penguinos book command.

prompt - A String, representing a default message before the input.
input(prompt)
You don't have to add a default message:
input()

Related

Why am I getting this "ImportError: cannot import name 's_remover' from 'S_Remover'" [closed]

Closed. This question needs debugging details. It is not currently accepting answers.
Edit the question to include desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem. This will help others answer the question.
Closed 6 days ago.
Improve this question
I don't see any circular dependency, no misspelling, and no misposition of my class. It is still having an import error nonetheless.
I tried writing a function to take in a string, and return that string but all uppercase, and with all of the "S" characters removed. I was expecting to be able to import this into my test file under the same directory, but it is unable to import.enter image description here

How can I create a program that runs commands as soon as I copy something to clipboard [closed]

Closed. This question needs debugging details. It is not currently accepting answers.
Edit the question to include desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem. This will help others answer the question.
Closed 7 months ago.
Improve this question
I want to write a program that will run a few lines on any piece of data or string upon copying to clipboard, is there a way to do this? I cant find much information about it.
I found https://pyperclip.readthedocs.io/en/latest/index.html
It has the pyperclip.waitForPaste() function, which should do exactly what you want. I had issues trying it with Linux Fedora, but it should be no problem on most Systems.

why does my console show nothing in pyhon? [closed]

Closed. This question needs debugging details. It is not currently accepting answers.
Edit the question to include desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem. This will help others answer the question.
Closed 8 months ago.
Improve this question
This is my coding
below one is the screenshot of the lecture
I would like to know why my console does not show anything, unlike the lecture.
I can't tell from the photos but it looks like you're not calling the function? and if you are, maybe with the wrong parameters, can you upload all of your code?

Python for loop and if control [closed]

Closed. This question needs debugging details. It is not currently accepting answers.
Edit the question to include desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem. This will help others answer the question.
Closed 7 months ago.
Improve this question
Greetings, I'm trying to make a user login using a for loop, but when I use and in the if block I use to cancel the operation, even if I don't enter 0, the process ends, but when I use or it doesn't work, why?
Number 3 and string '3' are not equal
example

How do you make a block comment in python? [closed]

Closed. This question needs debugging details. It is not currently accepting answers.
Edit the question to include desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem. This will help others answer the question.
Closed 5 years ago.
Improve this question
I have tried using triple quotes but it only turns the code green. As if i were to print it. Not red
"""
How do i make a block comment
"""
So how can i make a block comment, or is it supposed to be green.
'''
This is a multiline
comment. I can type here whatever I want.
'''
You have too many quotes in the closing line - you have 4. It should be 3

Categories