Познач команди, призначені для заповнення двовимірного списку випадковими числами. Декілька варіантів. a = [[] for i in range(n)] for i in range(n): for j in range(m): a[i]=a[i]+[randint(1,10)] a = [] for i in range(n): s= input().split() a.append(list(s)) a = [[] for i in range(n)] for i in range(n): for j in range(m): a[i].append(randint(1,10))​
Please enter comments
Please enter your name.
Please enter the correct email address.
You must agree before submitting.

Answers & Comments


Copyright © 2025 SCHOLAR.TIPS - All rights reserved.