1.语法
python
input()
2.示例
python
#要求手动输入信息,打印信息卡
Please input your name:xxx
Please input your age:xxx
Your hobbie:xxx
----------xxx info----------
name:xxx
age:xxx
hobbie:xxx
-------------end-------------
#实现代码
name = input("Please input your name:")
age = input("Please input your age:")
hobbie = input("Your hobbie:")
msg = f'''
----------{name} info----------
name:{name}
age:{age}
hobbie:{hobbie}
-------------end-------------
'''
print(msg)