▶️ ЗАБЕРИ СВОИ 8 ПОДАРКОВ 🎁 ПРИ СОЗДАНИИ СВОЕГО МАЙНКРАФТ СЕРВЕРА
Моды/RevampedCrafts [Client]
RevampedCrafts [Client]

RevampedCrafts [Client]

A client-only modpack made to be able to play servers or make vanilla by improving and optimizing the gameplay

70
0

import random import matplotlib.pyplot as plt

Funzione che simula il lancio di un dado sei facce

def lancia_dado(): return random.randint(1, 6)

Funzione principale che simula i lanci e visualizza il grafico

def simula_lanci_e_visualizza(numero_lanci): # Inizializza una lista per contare le occorrenze di ciascuna somma (da 2 a 12) frequenze = [0] * 13 # Indici da 0 a 12, useremo solo da 2 a 12

# Simula i lanci dei due dadi
for _ in range(numero_lanci):
    dado1 = lancia_dado()
    dado2 = lancia_dado()
    somma = dado1 + dado2
    frequenze[somma] += 1

# Prepara i dati per il grafico
somme_possibili = list(range(2, 13))
occorrenze = [frequenze[i] for i in range(2, 13)]

# Crea il grafico a barre
plt.bar(somme_possibili, occorrenze, color='blue', edgecolor='black')
plt.xlabel('Somma di due dadi')
plt.ylabel('Frequenza')
plt.title('Distribuzione delle somme in {} lanci di due dadi'.format(numero_lanci))
plt.grid(axis='y', linestyle='--', alpha=0.7)
plt.show()

Esegui la simulazione con un numero specificato di lanci

numero_di_lanci = 1000 # Puoi modificare questo valore simula_lanci_e_visualizza(numero_di_lanci)

RevampedCrafts

A client-only modpack made to be able to play servers or make vanilla by improving and optimizing the gameplay, perfect for weak PCs or for anyone who wants to play an improved version of Minecraft without completely compromising classic vanilla,have fun!!


Mods [73]
  • M.R.U
  • Debugify
  • Pick Up Notifier
  • Sounds
  • Puzzles Lib
  • Enhanced Block Entities
  • Entity Culling
  • Bookshelf
  • Sodium
  • libIPN
  • FancyMenu
  • Model Gap Fix
  • Better Statistics Screen
  • Reese's Sodium Options
  • Better Clouds
  • YetAnotherConfigLib (YACL)
  • Better Mount HUD
  • [EMF] Entity Model Features
  • Forge Config API Port
  • Iris Shaders
  • Sodium Shadowy Path Blocks
  • Inventory Profiles Next
  • Enchantment Descriptions
  • InvMove
  • TCDCommons API
  • LambDynamicLights
  • Not Enough Animations
  • Dynamic FPS
  • FabricSkyboxes
  • CreativeCore
  • BadOptimizations
  • Prickle
  • ModernFix
  • Ambient Environment
  • Mouse Tweaks
  • Lithium
  • Presence Footsteps
  • Architectury API
  • More Chat History
  • FerriteCore
  • Colorful Hearts
  • Durability Tooltip
  • Better Advancements
  • Concurrent Chunk Management Engine (Fabric)
  • Melody
  • UniLib
  • Mod Menu
  • Better Third Person
  • CraftPresence
  • AmbientSounds
  • Better Ping Display [Fabric]
  • Dark Loading Screen
  • Indium
  • Mod Loading Screen
  • Chat Heads
  • Collective
  • [ETF] Entity Texture Features
  • Text Placeholder API
  • Fabric API
  • Sodium Extra
  • Cloth Config API
  • Status Effect Bars
  • Konkrete
  • Continuity
  • Zoomify
  • Roughly Enough Items (REI)
  • Fabric Language Kotlin
  • Tips
  • BetterF3
  • Very Many Players (Fabric)
  • AppleSkin
  • SuperMartijn642's Config Lib
  • More Culling
  • Links [1]
  • Donation
  • Совместимость

    Minecraft: Java Edition

    1.21.x

    Платформы

    Поддерживаемые окружения

    Клиент

    Ссылки

    Создатели

    Детали

    Лицензия:MIT
    Опубликован:1 год назад
    Обновлён:1 год назад
    Главная