G

Untitled

public
Guest Feb 12, 2024 Never 19
Clone
Plaintext paste1.txt 19 lines (14 loc) | 697 Bytes
1
def confess_to_crush():
2
crush_name = input("Enter your crush's name: ")
3
your_name = input("Enter your name: ")
4
5
print("\nHey {},\nI've been wanting to tell you something for a while, {}.".format(crush_name, your_name))
6
7
print("Take your time to express your feelings. When you're done, type 'end' on a new line.")
8
9
confession_message = ""
10
while True:
11
line = input()
12
if line.lower() == 'end':
13
break
14
confession_message += line + "\n"
15
16
print("\nI just wanted to let you know:\n{}\nI hope we can talk more about it when you're ready.".format(confession_message))
17
18
if __name__ == "__main__":
19
confess_to_crush()