feat: Initial commit

This commit is contained in:
2024-03-22 17:01:42 +01:00
parent 954985f39a
commit c343ff6e93
106 changed files with 143428 additions and 1 deletions

14
Laboratorio6/vocali.py Normal file
View File

@@ -0,0 +1,14 @@
def countVowel(str):
c = 0
for ch in str:
if ch.lower() in "aeiou":
c += 1
return c
def main():
uinput = input("Inserisci una frase: ")
print("Il numero di vocali è", countVowel(uinput))
if __name__ == "__main__":
main()