Answer to Question #256419 in Python for rasi

Question #256419

 15. Write a program to find the count of non-repeating characters.


1
Expert's answer
2021-10-28T14:18:07-0400
str1 = input('Enter the string :')
for row in str1:
    
    c = 0
    for col in str1:
        
        if row == col:
            c+=1
        
        if c > 1:
            break
    
    if c == 1:
        print(row,end = " ")

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

No comments. Be the first!

Leave a comment

LATEST TUTORIALS
New on Blog
APPROVED BY CLIENTS