如何在Python中声明一个变量?
Python

Quiz
•
Computers
•
12th Grade
•
Medium
note cw
Used 40+ times
FREE Resource
20 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
int i = 0;
Dim i = 0
i = 0
var i = 0;
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
如何在Python中注释代码?
\\ Python中的注释以两个反斜杠开始
-- Python中的注释以两个连字符开始
# Python中的注释以#开始
// Python中的注释以两个正斜杠开始
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
在 Python要"輸出"可以使用哪個指令?
if
output
for
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
下面的程序输出是什么?
name = 'Dave'
print (name)
Dave
'Dave'
name
(name)
5.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Python有一个复杂的元组(Tuple)实现。下列元组操作的正确输出是什么?
tupA = (‘Spam’, ‘Ham’, 0, 2)
tupB = (‘Beans’, ‘Toast’, 5, 10)
print(tupB[0])
print(tupB + tupA)
Beans
(Beans, Toast, 5, 10, Spam, Ham, 0, 2)
Beans
(Beans, Toast , Spam, Ham, 5 , 10 , 0, 2)
Beans
Beans, Toast, 5, 10, Spam, Ham, 0, 2
Beans
(Spam, 0, 2, Ham, 5, 10)
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
下列哪一行程式在Python中不會被執行?
print ("Hello Python")
print ('Hello World')
print(round(3.1415))
# print ('Hen 棒棒')
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
“ab”+”c”*2 结果是
abc2
abcabc
abcc
ababcc
Create a free account and access millions of resources
Similar Resources on Quizizz
25 questions
CSP Python Review

Quiz
•
9th - 12th Grade
20 questions
quiz dasar python

Quiz
•
1st Grade - University
22 questions
Python тілінде циклдар

Quiz
•
9th - 12th Grade
20 questions
Quiz Pemrograman Phyton

Quiz
•
9th - 12th Grade
20 questions
String Data Type(Python)

Quiz
•
12th Grade
25 questions
Python for Absolute Beginners

Quiz
•
8th - 12th Grade
15 questions
Python Programming 1: print, strings, variables, casting

Quiz
•
9th Grade - University
20 questions
LETS PLAY QUIZ - PYTHON CBSE CLASS XII

Quiz
•
11th - 12th Grade
Popular Resources on Quizizz
15 questions
Character Analysis

Quiz
•
4th Grade
17 questions
Chapter 12 - Doing the Right Thing

Quiz
•
9th - 12th Grade
10 questions
American Flag

Quiz
•
1st - 2nd Grade
20 questions
Reading Comprehension

Quiz
•
5th Grade
30 questions
Linear Inequalities

Quiz
•
9th - 12th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
18 questions
Full S.T.E.A.M. Ahead Summer Academy Pre-Test 24-25

Quiz
•
5th Grade
14 questions
Misplaced and Dangling Modifiers

Quiz
•
6th - 8th Grade
Discover more resources for Computers
17 questions
Chapter 12 - Doing the Right Thing

Quiz
•
9th - 12th Grade
30 questions
Linear Inequalities

Quiz
•
9th - 12th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
20 questions
Taxes

Quiz
•
9th - 12th Grade
17 questions
Parts of Speech

Quiz
•
7th - 12th Grade
20 questions
Chapter 3 - Making a Good Impression

Quiz
•
9th - 12th Grade
20 questions
Inequalities Graphing

Quiz
•
9th - 12th Grade
10 questions
Identifying equations

Quiz
•
KG - University