lehrkraefte:blc:informatik:ffprg1-2020:sudoku

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:ffprg1-2020:sudoku [2020/04/27 18:02]
Ivo Blöchliger [Ausblick]
lehrkraefte:blc:informatik:ffprg1-2020:sudoku [2020/05/04 16:40]
Ivo Blöchliger [Ausblick]
Line 172: Line 172:
 ___1__78_+5_23_____+_4_______+6__7___3_+_9______2+_________+1_____5__+____28___+____4____ ___1__78_+5_23_____+_4_______+6__7___3_+_9______2+_________+1_____5__+____28___+____4____
 </code> </code>
 +
 +===== Zeit messen in Python =====
 +<code python>
 +import time
 +start_time = time.time()
 +#
 +# Grosse Berechnung (z.B. Lösen eines Sudokus)
 +#
 +# Dauer ausgeben:
 +print("--- %s seconds ---" % (time.time() - start_time))
 +</code>
 +
  • lehrkraefte/blc/informatik/ffprg1-2020/sudoku.txt
  • Last modified: 2020/05/04 16:40
  • by Ivo Blöchliger