创建字典(Dictionary)字典是python中唯一的映射类型,采用键值对(key-value)的形式存储数据...
声明列表(List)数据并赋值list = ['a','b',...
循环输出0-100num = 0 while num <=&n...
赋值运算符num = 1num += 1 等价于 num = num + 1num -= 1 等价于 num = ...
if语句实现猜年龄age_of_yourself = 18 guess_age ...
C++#include <iostream> using namespace...