Home
О нас
Products
Services
Регистрация
Войти
Поиск
valikkk1
@valikkk1
August 2022
1
6
Report
дан массив из 10 элементов заполнение и вывод при помощи цикла заполнение random любого числа найдите сумму и произведение всех элементов массива
Please enter comments
Please enter your name.
Please enter the correct email address.
Agree to
terms of service
You must agree before submitting.
Send
Answers & Comments
budzsergiy777p0i27m
import random as r
mas = []
for i in range(10)
:
a = r.randint(0,1000)
mas.append(a)
print(mas)
suma = sum(mas)
print("Suma: ",suma)
Пример
[638, 483, 964, 695, 125, 998, 951, 40, 463, 441]Suma: 5798[436, 752, 371, 622, 194, 945, 296, 644, 786, 355]Suma: 5401
[128, 23, 467, 943, 60, 954, 245, 575, 255, 520]Suma: 4170
0 votes
Thanks 0
More Questions From This User
See All
valikkk1
August 2022 | 0 Ответы
kapitanskaya doch 3 varianty vstupleniya
Answer
valikkk1
August 2022 | 0 Ответы
kak vy ponimaete smysl vyrazheniya a ty glupyshka ptenec zapomni etot urok bud tak
Answer
valikkk1
August 2022 | 0 Ответы
pomogite zadanie po anglijskomu nuzhno sostavit reklamu svoego magazina ya vybral
Answer
valikkk1
August 2022 | 0 Ответы
najdite u dyatla cherty prisposoblennosti k srede obitaniya i pitaniya nasekomymi o
Answer
valikkk1
August 2022 | 0 Ответы
dan massiv iz 10 elementov zapolnenie i vyvod pri pomoshi cikla zapolnenie randomee9600d5240358846989d87124996177 54328
Answer
valikkk1
August 2022 | 0 Ответы
dan massiv iz 10 elementov zapolnenie i vyvod pri pomoshi cikla zapolnenie randomacf5afd0e5e011ad5e4f41812814d476 87512
Answer
valikkk1
August 2022 | 0 Ответы
dan massiv iz 10 elementov zapolnenie i vyvod pri pomoshi cikla zapolnenie random04cdf9825b81a4e079942e8f34b5394b 76491
Answer
valikkk1
August 2022 | 0 Ответы
russkij pomogite srochno 7 zadanie8011e7eec5079507f7c340d31a434a94 95096
Answer
valikkk1
August 2022 | 0 Ответы
1 prochitajte tekst i napishite szhatoe izlozhenie 70 90 slov u mariny i sergeya
Answer
valikkk1
August 2022 | 0 Ответы
sostavte predlozheniya s etimi slovami1abiturient2adaptaciya3 investicii4vakan
Answer
рекомендуемые вопросы
rarrrrrrrr
August 2022 | 0 Ответы
o chem dolzhny pozabotitsya v pervuyu ochered vzroslye pri organizacionnom vyvoze n
danilarsentev
August 2022 | 0 Ответы
est dva stanka na kotoryh vypuskayut odinakovye zapchasti odin proizvodit a zapcha
myachina8
August 2022 | 0 Ответы
najti po grafiku otnoshenie v3v1 v otvetah napisano 9 no nuzhno reshenie
ydpmn7cn6w
August 2022 | 0 Ответы
Choose the correct preposition: 1.I am fond (out,of,from) literature. 2.where ar...
millermilena658
August 2022 | 0 Ответы
opredelite kak sozdavalas i kto sozdaval arabskoe gosudarstvo v kracii
MrZooM222
August 2022 | 0 Ответы
ch ajtmanov v rasskaze krasnoe yabloko ispolzuet metod rasskaz v rasskaze opi
timobila47
August 2022 | 0 Ответы
kakovo bylo naznachenie kazhdoj iz chastej vizantijskogo hrama pomogite pozhalujsta
ivanyyaremkiv
August 2022 | 0 Ответы
moment. 6....
pozhalujsta8b98a56c0152a07b8f4cbcd89aa2f01e 97513
sarvinozwakirjanova
August 2022 | 0 Ответы
pomogite pozhalusto pzha519d7eb8246a08ab0df06cc59e9dedb 6631
×
Report "дан массив из 10 элементов заполнение и вывод при помощи цикла заполнение random..."
Your name
Email
Reason
-Select Reason-
Pornographic
Defamatory
Illegal/Unlawful
Spam
Other Terms Of Service Violation
File a copyright complaint
Description
Helpful Links
О нас
Политика конфиденциальности
Правила и условия
Copyright
Контакты
Helpful Social
Get monthly updates
Submit
Copyright © 2024 SCHOLAR.TIPS - All rights reserved.
Answers & Comments
mas = []
for i in range(10):
a = r.randint(0,1000)
mas.append(a)
print(mas)
suma = sum(mas)
print("Suma: ",suma)
Пример
[638, 483, 964, 695, 125, 998, 951, 40, 463, 441]Suma: 5798[436, 752, 371, 622, 194, 945, 296, 644, 786, 355]Suma: 5401
[128, 23, 467, 943, 60, 954, 245, 575, 255, 520]Suma: 4170