一.格式化输出 1.实例 name = input("Name:") age = input("Age:") job = input("Job:") hobby = input("Hobby:") info = """ --------------- info of %s -------------- Name : %s Age : %s Job : %s Hobby: %s ----------
变量是什么? 变量的作用 Variables are used to store information to be referenced and manipulated in a computer program. They also provide a way of labeling data with a descriptive name, so our programs can be understood more clearly by the reader and ourselves