input = "abcd" Output1 = ['b', 'c', 'd', a''] output2 = ['d', 'b', 'a', c''] Output3= so on.. basically strings altered
Anonymous
input = "abcd" list = [] for letter in input: result = list.append(letter) shuffled_output = random.shuffle(result) print(shuffled_Output)
Check out your Company Bowl for anonymous work chats.