Use code tags.
Line 14 you indent where it should not be indent.
Line 14 you indent where it should not be indent.
import random import string adjectives = ['sleepy', 'slow', 'smelly', 'wet', 'fat', 'red', 'orange', 'yellow', 'green', 'blue', 'purple', 'fluffy', 'white', 'proud', 'brave'] nouns = ['apple', 'dinosaur', 'ball', 'toaster', 'goat', 'dragon', 'hammer', 'duck', 'panda'] print('Welcome to Password Picker!') adjective = random.choice(adjectives) noun = random.choice(nouns) number = random.randrange(0,100) special_char = random.choice(string.punctuation) password = adjective + noun + str(number) + special_char print(f'your new password is: {password}')
Output:your new password is: fluffypanda36>