Python input uses

高洛峰
高洛峰Original
2016-11-19 16:33:051137browse

#!C:Program FilesPython35/bin
# -*- conding:utf-8 -*-
# author: Frank
user_input = input("please input your name:") #input 函数的使用
print("User input Msg:", user_input)

>>>please input your name: Frank
User input Msg:  Frank

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Previous article:python iterationNext article:python iteration