
PYTHON CAMP 2-1
Authored by 銓R. 銓R.
Computers
6th - 8th Grade
Used 2+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
15 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
要如何輸出HELLO
print("HELLO")
print(HELLO)
print HELLO
HELLO (print)
2.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
以下程式碼會輸出什麼?
2
1
2.5
5%2
3.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
請問a和b的變數型別分別為何?
a是字串string
b是整數int
a是整數int
b是字串string
a和b都是字串string
a和b都是整數int
4.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
若a="3" (字串string),怎麼讓a轉為整數int?
string to int (a)
int(3)
int(a)
a(int)
5.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
以下程式碼會輸出什麼?
35+70
a+str(b)
105
3570
6.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
以下程式碼會輸出什麼?
1
4
a+3
a
7.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
要如何輸入整數至變數a?
a = input()
input(a)
a = int(input())
input = a
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?