Discover new perspectives and gain insights with IDNLearn.com's diverse answers. Our community provides timely and precise responses to help you understand and solve any issue you face.

python. create a program that asks the user to input their first name and their favorite number. Then the program should output the user's name and favorite number in the following format: "[first names]'s favorite number is [number]!"​

Sagot :

name = input("What is you name?")

fav_number = input("What is you favorite number?")

print(name + " your favorite number is " + fav_number + "!")