70.1k views
0 votes
Edhesive 1.7 Data Types and Variables.

How do I do this correctly

Noun= input (“Enter a noun”)
adjective = input(“Enter an adjective:”)
Print (“the” +noun “is” + adjective)

User Johnnyaug
by
5.1k points

1 Answer

3 votes

Here's how I would do it in python 3+

noun = input("Enter a noun: ")

adjective = input("Enter an adjective: ")

print(f"The {noun} is {adjective}")

I hope this helps!

User Nazarudin
by
4.9k points