Ask coding questions

← Back to all posts
[Python]How do i can make a str print statement that doesn't prints " ' "?
PAULX

https://repl.it/@PAULX/password-makerpy
here i have a str named "abc" and i the programm prints the " ' " from the str.
my question is why can i make that it don't print the " ' ".

Answered by Lord_Poseidon [earned 5 cycles]
View Answer
Voters
PAULX
Comments
hotnewtop
Lord_Poseidon

You unnecessarily complicated the variable abc and called the str function on what were already strings.I slightly modified your code to make it work https://repl.it/@Lord_Poseidon/password-makerpy

PAULX

@Lord_Poseidon thank you very much.

Lord_Poseidon

@PAULX your welcome.Don't hestitate to ask anything else here :-)