Computer Science, asked by bibekjitBiswas, 8 months ago

LET Q=SQR (N)
LET L&=LCASES (2)
IF (P=Q) THEN
PRINT LOS
END IF
END
64)
WAP to input three number, and two string it the sum of
first two humber, is divisible by the 328 number, then print!
It string in uppercase else
second string in lower case,
-> Thach
in​

Answers

Answered by Anonymous
1

Answer:

s = input("Input a string")

d=l=0

for c in s:

if c.isdigit():

d=d+1

elif c.isalpha():

l=l+1

else:

pass

print("Letters", l)

print("Digits", d)

Similar questions