How do you make a line to be in the next line when you run the code?

How do you make a line to be in the next line when you run the code?
0
#1
print("Let's make a story!")
name = input("Enter a name for an old man.: ")
age = input("Enter " + name + "'s age.: ")
cat_name = input("Enter a name for a cat.: ")

print("Once upon a time, there was an old man called " + name + ".") #want to make this line 1 line below

0 Likes

#2

print("\nonce upon a time....")

source :
https://linuxconfig.org/list-of-python-escape-sequence-characters-with-examples

0 Likes

#3

nope still doesn’t work thx for reply tho

0 Likes

#4

never mind it worked sorry

0 Likes

#5

Glad you got it working!

congrats on building your first story

0 Likes