Find how many times a character is repeated in a string in A360 | Python Package

preview_player
Показать описание
In this video, we have built a bot to find How many times a character is repeated in a string in A360.

👉 Subscribe to our RPAFeed YouTube channel to get video updates.

🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸

💻 Python Code:

def CharacterCount(inputString):
lettersCount = {}

for i in inputString:
if i in lettersCount:
lettersCount[i] += 1
else:
lettersCount[i] = 1

return str(lettersCount);

🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸

Social Media:

#PythonPackage #a360 #StringPackage

Рекомендации по теме
Комментарии
Автор

hi can we find out the occurence of particular char in a string using a360 tool? like without using python please let me know TIA

narasimhakumar
Автор

I have one query here, can we do this same problem without using python, only by using the actions available under String package?
we also have loops here in this platform right, so can we store the count in some variable and increment it whenever we encounter same character repeating?

nikita
Автор

Hi bro.. i have a question..
Remove @ from above string and show it as A, B, C, D
Pls make a video on that it will be helpful..

sivakumar-tzpv
Автор

Bro for me some doubt can u help me ....? how get value in multiple sheet in Excel workbook in AA360

roobanrajr
Автор

We do it without python. Just by using dictionary in automation anywhere

nrcktv
Автор

Can u do this using regular expressions?

AgriBytes
Автор

can you explain bot migration from v11 to 360 on premisis
make a video

chandrasekharvirivinti