Python TQC考題502 乘積,def by 儲蓄保險王 · 2022-04-29 #Python TQC考題502 乘積 def compute(x,y): return x*y x=eval(input()) y=eval(input()) ans=compute(x,y) print(ans) 相關文章Python: openai-whisper 語音轉文字(Speech To Text, STT)完整教學; pip install openai-whisper ; 如何購買openAI API key?如何生成字幕檔?掌握Python NumPy陣列扁平化:flatten()、ravel()與reshape(-1)的完整指南 #flatten(): 總是建立副本Python: 如何去掉list中的重複值並維持順序?dict.fromkeys() ; OrderedDict.fromkeys()Python: 如何使用pandas.to_numeric ( df['numbers'], errors='coerce') 將非數值型資料轉為NaN? df['numbers'].describe() 簡述統計資料Python: 如何檢查NaN(Not a Number)? 為什麼 np.nan == np.nan 返回 False? numpy.isnan() ; pandas.isna() ; pandas.isnull() ; np.isnan() 只能處理數值型資料(np.nan) ; pd.isna() , pd.isnull() 除了np.nan以外,還可以處理None, pd.DataFrame, pd.SeriesPython: 使用 flat_list.extend( List[pandas.Series] ) 實現 pandas.DataFrame 列擴展教學Python: 如何使用selenium打開chrome瀏覽器連線Facebook,自動輸入帳密後登入?from selenium import webdriver ; driver = webdriver.Chrome() ; driver.get(url)Python: 如何串接Meta API ?如何將dict存成JSON檔? json.dump(dic_msg ,f , ensure_ascii=False ,indent=4)Python-docx 教學:如何繪製自定義表格格線並用 DataFrame 填充 Word 表格
0 Python常用的模組內建常數; __name__ ; __file__ ; __doc__ ; __all__ ;__dict__; vars()->Dict[str,str] ; dir()->List[str] 2022-11-12
0 Python: Spyder5.4.2的IPython Console出現 Figures now render in the Plots pane by default. To make them also appear inline in the Console, uncheck “Mute Inline Plotting” under the Plots pane options menu. 如何在IPython Console中查詢python路徑與版本: !python -V ; !where python 2023-05-08
近期留言