呂思嫻{集合SET}[串列LIST](元組TUPLE){字典:DICT和集合一樣但key所以:冒號value值} 取得連結 Facebook X Pinterest 以電子郵件傳送 其他應用程式 6月 20, 2024 this=["呂思嫻","檢舉", "小","中"] that=("元組","tuple","貓","豬","狗") print(this) for i in range(-4, 4): print(i, this[i]) for i in range(-5, 5): print(i, that[i]) 截圖 取得連結 Facebook X Pinterest 以電子郵件傳送 其他應用程式 留言
呂思嫻VSCode編輯HTML,CSS,JS俄羅斯方塊 11月 19, 2023 模仿印度開發人員 335影片 336影片 337影片 利用w3schools學習JavaScript Arrays w3schools學習陣列截圖 閱讀完整內容
呂思嫻bro code貪吃蛇random.randint 6月 13, 2024 截圖 程式碼 from tkinter import * import random GAME_WIDTH , GAME_HEIGHT = 1000 , 800 SPEED = 200 #時間單位千分之一 SPACE_SIZE , BODY_PARTS = 50 , 3 #左邊變數 assigning value SNAKE_COLOR = [ "red" , "orange" , "yellow" , "green" , "blue" , "indigo" , "purple" ] FOOD_COLOR = "white" BACKGROUND_COLOR = "black" class Snake : def __init__ ( self ): self . body_size = BODY_PARTS self . coordinates = [] self . squares = [] for i in range ( 0 , BODY_PARTS ): self . coordinates . append ([ 0 , 0 ]) for x , y in self . coordinates : i = random . randint ( 0 , 6 ) square = canvas . create_rectangle ( x , y , x + SPACE_SIZE , y + SPACE_SIZE , fill = SNAKE_COLOR [ i ], tag = "snake" ,... 閱讀完整內容
呂思嫻微軟Visual Studio Code 編輯網頁程式 11月 05, 2023 影片328 維基百科vs CODE Visual Studio Code(簡稱 VS Code)是一款由微軟開發且跨平台的免費原始碼編輯器[7]。該軟體以擴充元件的方式支援語法突顯、程式碼自動補全(又稱 IntelliSense)、程式碼重構功能,並且內建了命令列工具和 Git 版本控制系統[8]。使用者可以更改佈景主題和鍵盤捷徑實現個人化設定,也可以透過內建的擴充元件程式商店安裝其他擴充元件以加強軟體功能。 VS Code 使用 Monaco Editor 作為其底層的程式碼編輯器。[9] Visual Studio Code 的原始碼以 MIT授權條款在 GitHub 上釋出[5],而可執行檔使用了專門的授權條款[6]。 微軟在2015年4月29日舉辦的 Build 2015大會上公布了 Visual Studio Code 的開發計劃;同日,其預覽版本釋出[10]。2015年11月18日,Visual Studio Code 在 GitHub 上開源,同時宣佈將支援擴展功能[11]。2016年4月14日,Visual Studio Code 正式版發佈[12]。 在2019年的 Stack Overflow 組織的開發者調查中,Visual Studio Code 被認為是最受開發者歡迎的開發環境。據調查,87317名受訪者中有50.7%的受訪者聲稱正在使用 Visual Studio Code[13]。 閱讀完整內容
留言
張貼留言