+ 1

How do I make a code which counts symbols only in Python

12th Apr 2019, 4:35 PM
Syreyes
Syreyes - avatar
6 odpowiedzi
+ 3
What kind of symbols did you mean? And you wanna count something like occurance of each symbol? Then dictionary has got your back. Kindly give more details regarding your question.
12th Apr 2019, 4:44 PM
Шащи Ранжан
Шащи Ранжан - avatar
+ 3
hi, if you want to count number of symbols in a string you can use this: https://code.sololearn.com/c9O9g0v5aaN8/?ref=app It uses a defined string from module string that contains all “punctuations” that is what you called “symbols”?
12th Apr 2019, 6:26 PM
Lothar
Lothar - avatar
+ 1
Symbols like these @#
amp; like these special symbols
12th Apr 2019, 4:45 PM
Syreyes
Syreyes - avatar
+ 1
And what is that?
12th Apr 2019, 5:10 PM
Syreyes
Syreyes - avatar