Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- saitler ="aeiou"
- saygac = 0
- soz = raw_input("bir soz girin:")
- def kelime_sorus():
- return raw_input("bir soz daxil edin: ")
- def saitdir(herf):
- return herf in saitler
- def artir(saygac, soz):
- for herf in soz:
- if saitdir(herf):
- sayac+=1
- return saygac
- def ekrana_ver(soz):
- mesaj = "{} kelimesinde {} sait ses var."
- print mesaj.format(soz, saygac)
- def islet():
- soz = kelime_sorus()
- ekrana_ver(kelime)
- if __name__ == '__main__':
- islet()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement