Search Header Logo

第一章PYTHON啟航

Authored by 源望 姚

Computers

9th Grade

Used 5+ times

第一章PYTHON啟航
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

5 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

PRINT() 函數的基本用途是什麼?

創建圖形用戶界面

儲存數據到文件中

輸出信息到控制台或顯示器上

計算數學運算的結果

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

print 函數的基本語法是什麼?

print[內容]

print{內容}

print(內容)

print<內容>

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

在 print 函數中,文字需要用什麼括起來?

圓括號 ()

方括號 []

單引號 ' 或雙引號 "

花括號 {}

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

以下哪一段代碼可以正確輸出 "Hello, World!"?

print(Hello, World!)

print("Hello, World!")

print('Hello, World!)

print(Hello, World)

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

如何用 print 函數輸出多行文字?

使用多行字符串或換行符

使用單行字符串

使用 print 函數的多行模式

使用 print 函數的單行模式

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?