Hello,
I made this programm : def count_letters(n,a): count = 0 for char in n: if char == a: count += 1 return count fruit="" letter="" fruit= input("Enter a sort of fruit: ") teller = input("Enter the character which must be counted: ") x=count_letters (fruit,letter) print "De letter", letter , "komt", x , "maal voor in het woord", fruit The problem is that I can't have the opportuntity for input anything. I use python 2.7 on a Win7 machine with as editor SPE. Roelof
_______________________________________________ Tutor maillist - Tutor@python.org To unsubscribe or change subscription options: http://mail.python.org/mailman/listinfo/tutor