lehrkraefte:blc:informatik:ffprg1-2020:zufallszahlen

Differences

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

Link to this comparison view

Both sides previous revision Previous revision
Last revision Both sides next revision
lehrkraefte:blc:informatik:ffprg1-2020:zufallszahlen [2021/02/11 13:22]
Ivo Blöchliger [Zufallszahlen]
lehrkraefte:blc:informatik:ffprg1-2020:zufallszahlen [2021/04/09 16:47]
Ivo Blöchliger
Line 10: Line 10:
     print(random.random())     print(random.random())
  
-# Ich bevorzuge random.randrange weil es gleich wie gleich wie range funktioniert+# Ich bevorzuge random.randrange weil es gleich wie range funktioniert
 print("Ints, uniform von 0 bis und mit 3") print("Ints, uniform von 0 bis und mit 3")
 for i in range(10): for i in range(10):
  • lehrkraefte/blc/informatik/ffprg1-2020/zufallszahlen.txt
  • Last modified: 2022/05/12 13:34
  • by Ivo Blöchliger