sentence = input("Enter the sentence with digits and alphabets : ")
alphabets = 0
digits = 0
for i in sentence:
    if(i.isalpha()):
        alphabets = alphabets+1
    elif(i.isdigit()):
        digits = digits+1
print("There are ",alphabets,"letters and ",digits,"digits in the given sentence.") 

2b20b7ca5c548b5947a271dfa5aab7b1f6c61773
<mask token>

<mask token>
for i in sentence:
    if i.isalpha():
        alphabets = alphabets + 1
    elif i.isdigit():
        digits = digits + 1
print('There are ', alphabets, 'letters and ', digits,
    'digits in the given sentence.')

sentence = input('Enter the sentence with digits and alphabets : ')
alphabets = 0
digits = 0
for i in sentence:
    if i.isalpha():
        alphabets = alphabets + 1
    elif i.isdigit():
        digits = digits + 1
print('There are ', alphabets, 'letters and ', digits,
    'digits in the given sentence.')

sentence = input("Enter the sentence with digits and alphabets : ")
alphabets = 0
digits = 0
for i in sentence:
    if(i.isalpha()):
        alphabets = alphabets+1
    elif(i.isdigit()):
        digits = digits+1
print("There are ",alphabets,"letters and ",digits,"digits in the given sentence.") 
