Computer Science, asked by jadhavtushar088, 6 months ago

Create an array that can store marks of 20 students.​

Answers

Answered by valeriy69
1

\small\mathsf\color{pink}{Using:\ python\: 3}

marks = []

for x in range(1, 21):

tmp_list = []

for y in range(1, 6):

tmp_list.append([f"sub_{y}", 69])

vidhyarti = [f"vidhyarti_{x}"]

vidhyarti.extend(tmp_list)

marks.append(vidhyarti)

tmp_list.clear()

print(marks)

This app doesn't allow me to type a function available inside random module so I made the marks 69

\small\mathsf\color{lightgreen}useful?\: \color{white}\mapsto\: \color{orange}brainliest

Similar questions