solutions: 59A

This commit is contained in:
Muhammad Nauman Raza 2025-01-12 13:32:39 +00:00
parent e2b512e02a
commit 3dcf10add2
Signed by: devraza
GPG key ID: 91EAD6081011574B

17
solutions/word.py Normal file
View file

@ -0,0 +1,17 @@
import string
s = input()
l = 0
h = 0
for i in list(s):
if i in string.ascii_uppercase:
h += 1
else:
l += 1
if h > l:
print(s.upper())
else:
print(s.lower())