from random import choice def whisper_sweet_nothings(name): sweet_nothings = [ "{}, you're a gift to those around you.".format(name), "I appreciate you {}.".format(name), "{}, when you say you will do something, I trust you.".format(name), "{}, your eyes are breathtaking.".format(name), "{}, you make me want to be the best version of myself.".format(name), "{}, simply knowing you has made me a better person.".format(name), "{}, I love how you never compromise on being yourself.".format(name) ] message = choice(sweet_nothings) print("{}\n".format(message)) def love_language(): while True: name = input("Hi beautiful, what's your name? ") whisper_sweet_nothings(name) if __name__ == '__main__': love_language()