<filename>sample_problems_part-II/pws2.py
# Write a Python program to create all possible strings by using 'a', 'e', 'i', 'o', 'u'.
# Use the characters exactly once.
import random

char_list = ['a', 'e', 'i', 'o', 'u']
random.shuffle(char_list)
print(''.join(char_list))

<filename>sample_problems_part-II/pws2.py
# Write a Python program to create all possible strings by using 'a', 'e', 'i', 'o', 'u'.
# Use the characters exactly once.
import random

char_list = ['a', 'e', 'i', 'o', 'u']
random.shuffle(char_list)
print(''.join(char_list))

# Write a Python program to create all possible strings by using 'a', 'e', 'i', 'o', 'u'. # Use the characters exactly once.