lehrkraefte:blc:informatik:glf4-20:simulation

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
lehrkraefte:blc:informatik:glf4-20:simulation [2021/03/26 15:22]
michael.greminger
lehrkraefte:blc:informatik:glf4-20:simulation [2021/03/26 15:31] (current)
michael.greminger
Line 65: Line 65:
          
 anzahlVersuche = 10000 anzahlVersuche = 10000
-anzahlMindEinmal6 = 0+alleAugenzahlen = 0
 for i in range(anzahlVersuche): for i in range(anzahlVersuche):
-    anzahlMindEinmal6 += sim()+    alleAugenzahlen += sim()
          
-print anzahlMindEinmal6 / anzahlVersuche+print alleAugenzahlen / anzahlVersuche
 </code>   </code>  
 </hidden> </hidden>
  • lehrkraefte/blc/informatik/glf4-20/simulation.1616768552.txt.gz
  • Last modified: 2021/03/26 15:22
  • by michael.greminger