#1
         18.10.2016 um 18:48 UhrWofür die Liste???
         
        Python :: Aufgabe #16 :: Lösung #1
Konsolenausgabe:
Geben Sie einen Satz ein :
Dies ist ein toller Satz.
Anzahl der Vokale : 8
A: 1
E: 3
I: 3
O: 1
U: 0
satz=raw_input("Geben sie einen Satz ein.")
liste=[]
liste.append(satz)
A=satz.lower().count("a")
E=satz.lower().count("e")
I=satz.lower().count("i")
O=satz.lower().count("o")
U=satz.lower().count("u")
print "A : ",A
print "E : ",E
print "I : ",I
print "O : ",O
print "U : ",UKommentare:
Canaffer
         Punkte: 20
 
         
         1 Lösungen
         1 Kommentare