# какаята строка
str = "some str"
res = [a.upper() for a in str if 97 <= ord(a) <= 122]
print(' '.join(res))
Copyright © 2024 SCHOLAR.TIPS - All rights reserved.
Answers & Comments
# какаята строка
str = "some str"
res = [a.upper() for a in str if 97 <= ord(a) <= 122]
print(' '.join(res))