Personal information Write a program that displays the following information

  1. Personal information

Write a program that displays the following information:

  • Your name
  • Your address, with city, state, and ZIP
  • Your telephone number
  • Your college major

Solution

name = input(“Enter your name : “)
city = input(“Enter your city name : “)
state = input(“Enter the state : “)
zipCode = input(“Enter the ZIP code : “)
tpNumber = input(“Enter the Telephone number : “)
collegeMajor = input(“Enter the college major : “)

print(“your name : “,name)
print(“your address with city,state,zip : “+city+”,”+state+”,”+zipCode)
print(“your telephone number : “,tpNumber)
print(“your college major : “,collegeMajor)