Комментарии:
dibil mleat`
ОтветитьThis is so long:😅
string = 'python'
print(*string, sep='\n')
How would one change the output to be one character for each of the characters in the string?
ОтветитьHow can you print out each character instances to find out how much of that specific letter in in the string, from 0x20 to 0x7F
Kinda like if you type in "The quick brown fox jumps over the lazy dog." It will print out all of the how many times it was used in the string plus spaces and periods and etc, using loops and the count functions inside the def keyword .
How can I print text in front of each letter? I have a thing where you can type in a word and it will layout all the letters like this but I want to make it so it will type some specific words in front of each letter.
Ответить