




免費預覽已結束,剩余1頁可下載查看
下載本文檔
版權說明:本文檔由用戶提供并上傳,收益歸屬內容提供方,若內容存在侵權,請進行舉報或認領
文檔簡介
資料收集于網絡 如有侵權請聯系網站 刪除 謝謝 Hello World Iprint(Hello World)Hello World II(垂直)for name in Hello World: print(name) N的多次方x = eval(input() for i in range(5): print(pow(x, i), end = ) print(pow(x,5) 溫度轉換 IITempStr = input() #print(eval(TempStr1:) if TempStr0 in F, f: C = (eval(TempStr1:) - 32) / 1.8 print(C:.2f.format(C) else : F = eval(TempStr1:) * 1.8 + 32 print(F:.2f.format(F) 貨幣轉換 Is = input() if s0 in R, r: u = eval(s3:) / 6.78 print(USD:.2f.format(u) else: r = eval(s3:) * 6.78 print(RMB:.2f.format(r) turtle正方形繪制import turtle turtle.setup(650, 350, 200, 200) turtle.penup() turtle.fd(-250) turtle.pendown() turtle.pensize(2) turtle.pencolor(black) turtle.fd(50) for i in range(3): turtle.left(90) turtle.fd(50) turtle.done() turtle六邊形繪制import turtle turtle.setup(650, 350, 200, 200) turtle.penup() turtle.fd(-250) turtle.pendown() turtle.pensize(2) turtle.pencolor(black) turtle.fd(50) for i in range(5): turtle.left(60) turtle.fd(50) turtle.done() turtle疊邊形繪制import turtlefor i in range(9): turtle.fd(100) turtle.left(80)turtle同切圓繪制import turtle turtle.setup(650, 350, 200, 200) turtle.penup() turtle.pendown() turtle.pensize(2) turtle.pencolor(black) for i in range(4): turtle.circle(30 + 10 * i, 360) 長度轉換 Is = input() if s-1 in m, M: y = eval(s:-1) * 39.37 print(:.3fin.format(y) else: x = eval(s:-2) / 39.37 print(:.3fm.format(x)平方值格式化n = pow(eval(input(), 2) if len(str(n) 20: print(n) else: print(0:-20.format(n) 同符號數學運算n = eval(input() N = abs(n) a = N + 10 b = N - 10 c = N * 10 if n = a and c = z: strp = strp:i + chr(ord(c) - ord(a) + 3) % 26 + ord(a) + strpi
溫馨提示
- 1. 本站所有資源如無特殊說明,都需要本地電腦安裝OFFICE2007和PDF閱讀器。圖紙軟件為CAD,CAXA,PROE,UG,SolidWorks等.壓縮文件請下載最新的WinRAR軟件解壓。
- 2. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請聯系上傳者。文件的所有權益歸上傳用戶所有。
- 3. 本站RAR壓縮包中若帶圖紙,網頁內容里面會有圖紙預覽,若沒有圖紙預覽就沒有圖紙。
- 4. 未經權益所有人同意不得將文件中的內容挪作商業或盈利用途。
- 5. 人人文庫網僅提供信息存儲空間,僅對用戶上傳內容的表現方式做保護處理,對用戶上傳分享的文檔內容本身不做任何修改或編輯,并不能對任何下載內容負責。
- 6. 下載文件中如有侵權或不適當內容,請與我們聯系,我們立即糾正。
- 7. 本站不保證下載資源的準確性、安全性和完整性, 同時也不承擔用戶因使用這些下載資源對自己和他人造成任何形式的傷害或損失。
最新文檔
- 校園教育收費管理制度
- 校園消防設備管理制度
- 校園監控盲區管理制度
- 校園配餐安全管理制度
- 校外培訓課程管理制度
- 暑假口算練習單
- 2024年會議電視圖像保密機資金申請報告代可行性研究報告
- 數字身份消費行為-洞察及研究
- 科技公司技術人才專業能力在職證明(6篇)
- 微機電系統設計-第1篇-洞察及研究
- 基于項目驅動的創新實踐課程設計
- 湖北省武漢市武昌區三年級下學期數學期末試卷(含答案)
- 2025中考英語閱讀考點專項突破訓練:旅游(學生版+解析)
- 專利培訓試題及答案
- 國際工程投標管理制度
- 2025河南濮陽市南樂縣紀委監委招聘編外看護隊員筆試易考易錯模擬試題(共500題)試卷后附參考答案
- 廣東省珠海市香洲區2023-2024學年七年級下學期語文期末試卷(含答案)
- 健康體檢教學課件
- 納米技術在靶向藥物delivery中的創新應用-洞察闡釋
- 口譯人員保密協議書
- 2025浙江中考:政治必背知識點
評論
0/150
提交評論