Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
Removing punctuation from strings
#python 3.6.9 punctuation = '''''!()-[]{};:'"\,<>./?@#$%^&*_~''' my_str = input("Enter a string: ") no_punct = "" for char in my_str: if char not in punctuation: no_punct = no_punct + char print(no_punct)
run
|
edit
|
history
|
help
0
if else
Ej2_python_204676887
Q5
test
Moore Voting Algorithm
N. Py
My world
PyTypeClass
playing around with python
Multi-Layer Neural Networks