Find the syntax error(s) if any:
[2,3,4,5,6]=x
y [2,6,4,7,9}
for in range(0,5)
x[i]=i
z[i]=i+3
y==z
x=y
print(x[i])
print(z[i]
Answers
Answered by
4
ɧɛƖƖơ ɱąɬɛ
Answer:
ᴛʜᴇ Fᴏʟʟᴏᴡɪɴɢ ɪs ᴛʜᴇ ᴄᴏʀʀᴇᴄᴛᴇᴅ ᴄᴏᴅᴇ :
x=[2,3,4,5,6]
y=[2,6,4,7,9]
for i in range(0,5):
x[i]=i
z[i]=i+3
y=z
x=y
print(x[i])
print(z[i])
____________________________
# ɪɴ ᴛʜɪs ᴄᴏᴅᴇ ᴢ[i]=i+3 ɢɪᴠᴇs ᴀɴ ɪɴᴅᴇx ᴇʀʀᴏʀ.
____________________________
ɧơ℘ɛ ıɬ ɧɛƖ℘ʂ ყơų ☺
Similar questions