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
dictionary function
Eje2_Python_201169275
Python wtf ?
(P2) Ciągi 2 - mapowanie
Lesson5-
single inheritance
~2668 Pime Numbers list
Ciklusok
Distribucion de cortes
pattern(T).py