![](https://img-blog.csdnimg.cn/20201014180756919.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
python学习之路
又一个BUG
HelloHelloHelloHelloHelloHelloHelloHelloHelloHelloHelloHelloHelloHelloHelloHelloHelloHelloHelloHelloHelloHelloHelloHelloHelloHelloHelloHelloHelloHelloHelloHelloHelloHelloHelloHello
展开
-
各类流行语言第一个程序hello world对比
1.各类语言第一个程序hello world对比C语言:#include <stdio.h> int main(void){ printf("\nhello world!"); return 0; }PHP:<?php echo "hello world!"; ?>C++:include <iostream> int main(v...原创 2018-07-13 23:31:52 · 871 阅读 · 1 评论 -
python数据类型
1.元组tuple(只读)定义方法:tup = ('a','b','c','d')2.列表list定义方法:list1 = ['a','b','c','d'] 或 list2 = (tup)列表的增删改查:增加:方法:append(),在列表最后添加list1.append("e") # ['a','b','c','d','e']方法:insert(),参数一插入位置的下标,参数二插入的内容...原创 2018-07-14 00:22:51 · 149 阅读 · 0 评论