You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

15 lines
514 B

  1. #!/usr/bin/env python3
  2. #title :4-6.py
  3. #description :Opdracht 4.6 - For, If & vowels
  4. #author :Marcel Haazen
  5. #email :marcel@haazen.xyz
  6. #date :21-09-2019 - 23:33
  7. #version :0.1
  8. #usage :python3 4-6.py
  9. #notes :
  10. #python_version :3.7.4
  11. #==============================================================================
  12. s = "Guido van Rossum heeft programmeertaal Python bedacht."
  13. vowels = "aeiou"
  14. for letter in s:
  15. if letter in vowels:
  16. print(letter)