Thu Sep 26 2024 00:15:33 GMT+0000 (Coordinated Universal Time)
Saved by @JC
input_string=input("Enter a string: ") vowels_list=[char for char in input_string if char in 'aeiouAEIOU'] print(vowels_list)
Copy this HTML code:
Preview:
open_in_newInstructions on embedding in Medium
Comments