通过索引方式修改
>>> i = nameList.index('H')
>>> nameList[i] = 'h'
>>> nameList
['good', 'jack', 'java', 'js', 'll', 'php', 'h', 'e', 'l', 'l', 'o', ' ', 'w', 'o', 'r', 'd']
>>>
通过索引方式修改
>>> i = nameList.index('H')
>>> nameList[i] = 'h'
>>> nameList
['good', 'jack', 'java', 'js', 'll', 'php', 'h', 'e', 'l', 'l', 'o', ' ', 'w', 'o', 'r', 'd']
>>>
两条命令可以通过 & 连接 例如:ping baidu.com & ping g.cn 有图有真相:
俗话说的好,代码写的少,离职少不了。最近畅游互联网,发现一些离职小技巧,读后,内心被深深的打动了。但是细细的品过之后,发现对我们程序员不太适用,例如:领导夹菜你转桌,我们程序员一般不和领导...
题目描述 给定由大写,小写字母和空格组成的字符串,返回最后一个单词的长度。输入 输入一行,为字
/* atof example: sine calculator */#include /* printf, fgets */#include /* atof */#include ...
举报文章
请选择举报类型
补充说明
0/200
上传截图
格式支持JPEG/PNG/JPG,图片不超过1.9M