Generation

generate functionMon, 20 Mar 2023

you must create a program that allows you to simulate a conversation with the PC, the PC will ask the following questions: Hello what is your name? How old are you? What is your marital status? How tall are you? What is your weight?

name = input("Hello, what is your name?") age = int(input("How old are you?")) status = input("What is your marital status?") tall = input("How tall are you?") weight = input("What is your weight?") print("You are %s years old, you are %s, you are %s tall, you weigh %s" % (name, age, status, tall, weight))

Questions about programming?Chat with your personal AI assistant