Ikki 1 ning yig'indisi 2 emas, 3 emas, shuning uchun sizning histogramma idishlaringiz 2 dan boshlanishi kerak, 3 emas Siz hozirda 100 ta rollni qattiq kodlangan holda bajaryapsiz - siz rolllar soni uchun buyruq satri argumentini qabul qilishni xohlaysiz Buyruq satri argumentini tahlil qilishingiz kerak Sabit kod: ``py import sys import random import matplotlib.pyplot as plt rolls = [] num_rolls = int_sys.argv [1]) i uchun diapazondagi ((numrolls): dice = [random.randint{1, 20) for in range3) [(rolls.append{sum{sorted{dice}[1:])) plt.{histrolls, bins=range{2, 41) plt.{xlabel{'Sum of two highests')
spam fails_task lang_mismatch pii not_appropriate hate_speech sexual_content quality toxicity humor helpfulness creativity violence