print("Hello"), Displays the text "Hello" on the screen. The print() function outputs text or other information., input("Press Enter to continue..."), Waits for the user to press Enter before proceeding. The input() function pauses the program until the user provides input., name = input("What is your name? "), Asks the user for their name and stores the input in the variable name., print(“Hello ‘ + name), Prints the word hello and the whatever was typed in as the name variable, if name == “Fred”:, Conditional (if statement)., if name != "Fred":, Checks to see if name is NOT Fred, from csinsc import *, imports the modules from CS in Schools to give more options, print(Colour.red + "This is red"), Prints the text in red colour, print(Highlight.yellow + "This is yellow"), Hightlights the text in yellow, print(Colour.reset + "Back to normal"), Resets text colour to default., sleep(3), Waits for 3 seconds, before the program continues, CS in Schools, The name of the website we are using, Python, The name of the programming language
0%
Coding Recap
共用
共用
由
09324879
Secondary
DigTech
編輯內容
存檔
喜歡
列印
嵌入
更多
需要登錄
視覺風格
顯示所有
字體
活動設定
排行榜
作業
需要訂閱
活動設定
排行榜
此排行榜當前是私有的。單擊
共用
使其公開。
資源擁有者已禁用此排行榜。
此排行榜被禁用,因為您的選項與資源擁有者不同。
還原選項
顯示更多
顯示更少
匹配遊戲
是一個開放式範本。它不會為排行榜生成分數。
作業
您尚未與學生分享任何活動
要開始收集結果,請轉到任何活動頁面,然後選擇
Set assignment(設置分配
)。
確認您的設置並與學生共用生成的連結。
課業分配
更像這樣
Classrom language
由
Skolskaknjiga
迷宮追逐
4
Text and Visual Programming
由
Mariamalhamoudi
刺破氣球
5
School Objects + COLOURS + numbers
由
Miica286
測驗
25
Classroom objects and colors
由
Melissacarrion
問答遊戲
14
TEACHER SAYS...(SCHOOL OBJECTS + RANDOM COMMANDS)
由
Dreamlanguageschool
開箱遊戲
13
Coding (Computer Programming)
由
1969irishman
測驗
6
Spanish Classroom Commands
由
Baccain
匹配遊戲
7
Quiz COLOURS AND SCHOOL OBJECTS
由
Bigbalder
測驗
5
切換範本
顯示所有
打開結果
複製連結
QR 代碼
刪除
恢復自動保存:
?