前端開發:HTML, CSS, JavaScript, React
數據庫開發:MySQL, MongoDB, PostgreSQL
DevOps: Docker, Jenkins, Kubernetes
移動端開發:
- Java,
- 蘋果系統使用Swift,
- Android使用Kotlin
Python基礎語法:
- 注釋:
例如:#單行注釋
““多行注釋””
- 變量:直接賦值
例如:x=5
- 數據類型:
例如:int, float, str, bool
- 類型轉換:
例如:int( ), float( ),
str( ), bool( )
- 運算符:
例如:+, - , * , / , // , % , **
- 比較運算符:
例如:== , != ,>, <, >=, <=
- 邏輯運算符:
例如:and, or, not
- 位運算符:
例如:&, |, ^, ~, <<, >>
數據結構:
- 列表:[ ]
例如:my_list =[1, 2, 3]
- 元組:( )
例如:my_tuple=(1, 2, 3)
- 字典:{ }
例如:my_dict={'key': 'value'}
- 集合:set( )
例如: my_set= set( my_list)
- 列表解析:
例如:[xfor xin iterable]
- 字典解析:
例如:
{k:v for k, vin iterable}
- 集合解析:
例如:{xfor xin iterable }
控制流:
- if語句
例如:if, elif, else
- for 循環
例如:for item in iterable
- while 循環
例如:while condition
- break: 前提結束循環
- continue: 跳過本次循環剩餘部分
- pass: 占位符,什麼都不做
函數:
- 定義函數:
def function_name:
- 返回值: return
- 匿名函數:lambda x:x+1
- 參數:
例如:位置參數
默認參數
關鍵字參數
不定長參數
- 函數文檔字符串:
"""docstring"""