#!/usr/bin/python3 # Description: How to get user input. name = input("Enter your name : ") age = input("Enter your age : ") salary = input("Enter your salary : ") # Convert inputs to the appropriate data type because # input() returns value entered as string. age = int(age) salary = float(salary) print("My name is {}({}).".format(name, type(name))) print("My age is {}({}).".format(age, type(age))) print("My salary is {}({}).".format(salary, type(salary)))