A.
B.
C.
D.
! s?
! ?
A.
B.
C.
D.
! s?
! ?
2024M†S]MÍ!v×pythonG^×lІM)×k5
5"9?20 9s?100
?45
? 1 5 ??5
??? o????/Python}?/?E???^ ( )
a = randint(1,15)
b = randint(20,30)
变量a存诸的数字⼤于变量 b存储的数字
变量a存储的数字⼩于变量 b存储的数字
以上说法都正确
变量a存储的数字等于变量 b存储的数字
B
I?? o
? 2 5 ??5
/}? V[???{??^ ( )
input
print
INPUT
remove
B
{?7
? 3 5 ??5
/}???T{?T^ hi?L)?A?_____6547Õ¯Œƒø‚ƒ⁄≤ø π”√£¨ŒÕ‚¥´
A.
B.
C.
D.
! s?
! ?
A.
B.
C.
D.
! s?
! ?
A.
B.
C.
D.
! s?
! ?
n ="hi
print(hi)
input(n)
print(n)
PRINT(n)
C
{?7
? 4 5 ??5
4 aX1LCíK{“???"?rT?L) V[A ( )
_________
print(”???")
for true
while true
while True
While False
C
while True???
? 5 5 ??5
5. /}??{?T^ ( )
x = 18
y=9
z = x /y
print(z)
18
9
2
2.0
D
،??
? 6 5 ??56547Õ¯Œƒø‚ƒ⁄≤ø π”√£¨ŒÕ‚¥´
A.
B.
C.
D.
! s?
! ?
A.
B.
C.
D.
! s?
! ?
A.
B.
C.
D.
! s?
! ?
A.
B.
C.
?/Python}?{?T^ ( )
animal ={a”:1?"'":2,"???”:3}
print(animal[" ?"])
3
?0
2
1
C
I?3?
? 7 5 ??5
1?PythonM¥ ZT/Ep¥^ ( )
code123
age
2 apple
number
C
I³
? 8 5 ??5
/python?[??l3? stu???^____
stu ="姓名”,"可多”,"年龄”,8
stu =("姓名":"可多":"年龄": 8)
stu ={"姓名”:"可多”,"年龄": 8]
stu =[ 姓名":"可多","年龄":8]
C
'?T3?
? 9 5 ??5
/ V[?{hello?}?^ ( )
print(hello)
PRINT( hello )
print: hello6547Õ¯Œƒø‚ƒ⁄≤ø π”√£¨ŒÕ‚¥´
D.
! s?
A.
B.
C.
D.
! s?
A.
B.
C.
D.
! s?
! ?
A.
B.
C.
D.
! s?
print("hello)
D
? 10 5 ??5
1?PythonM¥ ZT/Ep¥^ ( )
2shd
Abc
abc_1
abc
A
? 11 5 ??5
?/Python}?{?T^ ( )
h = {Tom":147,"Jack":150, "Amy":143}
h["Jack"] = 16011
print(h)
{Tom":147,"Jack":160,"Amy":143}
{"Tom":147,"Jack :150,"Amy":143}
{Jack :147}
"{Tom'147, :150 Amy':143}”
A
3?
2024年全国青少年信息素养大赛python挑战赛小学全年级初赛试题-附答案