Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adipurnamk #514

Merged
merged 4 commits into from
Oct 4, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 1 addition & 12 deletions Contributors.html
Original file line number Diff line number Diff line change
Expand Up @@ -387,8 +387,6 @@
<div class="slider round"></div>
</label>



<a class="box-item" href="https://github.com/fineanmol"><span>Anmol Agarwal</span></a>
<a class="box-item" href="https://github.com/Amitava123"><span>Amitava Mitra</span></a>
<a class="box-item" href="https://github.com/philson-philip"><span>Philson Philip</span></a>
Expand Down Expand Up @@ -583,11 +581,10 @@
<a class="box-item" href="https://github.com/a-ayush19"><span>Ayush Awasthi</span></a>
<a class="box-item" href="https://github.com/SamarthSawhney"><spann>Samarth Sawhney</span></a>
<a class="box-item" href="https://github.com/highflyer910"><span>Thea M.</span></a>
<a class="box-item" href="https://github.com/adipurnamk"><span>Muhammad Adipurna Kusumawardana</span></a>
<a class="box-item" href="https://github.com/alfaniM"><span>M. Aulia Alfani</span></a>
<a class="box-item" href="https://github.com/soumyajit1999"><span>Soumyajit Sen</span></a>

<a class="box-item" href="https://github.com/vishnuramv"><span>Vishnu Ram V</span></a>

<a class="box-item" href="https://github.com/nyctonio"><span>Ritesh Kumar</span></a>
<a class="box-item" href="https://github.com/geeky01adarsh"><span>Adarsh Navneet Sinha</span></a>
<a class="box-item" href="https://github.com/RAJASETHI"><span>Raja Sethi</span></a>
Expand All @@ -598,16 +595,8 @@
<a class="box-item" href="https://github.com/yashjain1974"><span>Yash jain</span></a>
<a class="box-item" href="https://github.com/Ttecs"><span>Tharaka Bandara</span></a>




<!-- Please maintain the alignment... -->






</div>
</div>
</div>
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
#Count all lower case, upper case, digits, and special symbols from a given string

input_string = "P@#yn26at^&itr5i!ve"

def findcounts(input_string):
charsCount = 0
digitsCount = 0
symbolsCount = 0

for char in input_string:
if char.islower() or char.isupper():
charsCount = charsCount + 1
elif char.isnumeric():
digitsCount = digitsCount+1
else:
symbolsCount = symbolsCount + 1

print("chars", charsCount, "Digits: ", digitsCount, "symbols: ", symbolsCount)