224k views
15 votes
Please write the code for this:

Enter a word: Good
Enter a word: morning
Good morning

User Pratyush
by
6.2k points

2 Answers

10 votes

Answer:

G_0o*4 Mrn --ing

Step-by-step explanation:

G = G

_ = space

o = O

* = space

4 = D (the fourth letter in the alphabet)

Mrn = Abbrev. of Morn (ing)

-- = space

ing = ing (last 3 letters of "morning")

Hope this helps <3

User Vorant
by
6.6k points
1 vote

w1 = input("Enter a word: ")

w2 = input("Enter a word: ")

print(w1,w2)

I wrote my code in python 3.8. I hope this helps.

User Rld
by
6.7k points