【一路前行】-【2020.03.12】

今日进行:

    • 《The Python Tutorial》5 https://docs.python.org/3/tutorial/index.html
  • 《Python-100-Days》2 https://github.com/jackfrued/Python-100-Days
  • 数据结构与算法:第3章、第4章·表、栈、队列、树
    • leetcode:3道题
    • 《计算机网络·自顶向下方法》第1章·计算机网络和因特网
    • 《操作系统·精髓与设计原理》第1章·计算机系统概述
    • 《C++ Primer》第1章、第2章·变量和基本类型
    • STL教程:第1章·string类:http://c.biancheng.net/stl/

遇到问题:

知识笔记:

  • Python运算符优先级:
    运算符 描述
    [] [:] 下标,切片
    ** 指数
    ~ + - 按位取反, 正负号
    * / % // 乘,除,模,整除
    + - 加,减
    >> << 右移,左移
    & 按位与
    ^ | 按位异或,按位或
    <= < > >= 小于等于,小于,大于,大于等于
    == != 等于,不等于
    is is not 身份运算符
    in not in 成员运算符
    not or and 逻辑运算符
    = += -= *= /= %= //= **= &= ` = ^= >>= <<=`

代码段:

文章引用:

猜你喜欢

转载自www.cnblogs.com/xiaopu-comeon/p/12467140.html