Contact: aviboots(AT)netvision.net.il
39,851 questions
51,772 answers
573 users
str = "Python is an interpreted high-level general-purpose programming language." count = 0 for i in range (0, len (str)): if str[i] in ('!', "," ,"\'" ,";" ,"\"", ".", "-" ,"?"): count = count + 1 print(count) ''' run: 3 '''