码迷,mamicode.com
首页 >  
搜索关键字:输入与输出练习    ( 1个结果
Python输入和输出
eg:ex1.py#!/usr/bin/envpython#_*_coding=utf-8_*_importgetpassname=raw_input(‘pleaseinputyourusername:‘)pwd=getpass.getpass(‘inputyourpassword:‘)print‘thenameis:‘,nameprint‘thepasswordis:‘,pwd执行结果:[root@localhost~]#pythonex1.pypleaseinputyourusername:h..
分类:编程语言   时间:2017-03-09 01:39:20    阅读次数:190
1条  
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!