Python: Difference between revisions

From wikiluntti
 
(One intermediate revision by the same user not shown)
Line 2: Line 2:


Python introduction for pupils
Python introduction for pupils
Understanding Deep Learning. Python notebooks covering the whole text
https://udlbook.github.io/udlbook/


== Theory ==
== Theory ==
Line 33: Line 36:
</syntaxhighlight>
</syntaxhighlight>


<syntaxhighlight lang="python">
[list(x) for x in product(range(6), repeat=3)]
</syntaxhighlight>


=== NExt ===
=== NExt ===

Latest revision as of 20:58, 23 September 2024

Introduction

Python introduction for pupils

Understanding Deep Learning. Python notebooks covering the whole text https://udlbook.github.io/udlbook/

Theory

Animation; graph animation.

Blender animation; Change size of objects

Python onliners from terminal

Python oneliner to differentiate polynomial list

Plot Cansat or any csv data using Python

eOppi student grading

Lidar data visualization

USDZ data visualization

Shorties

Lists

print [[x, y] for x in range(3) for y in range(3)]

or

print [[x, y] for x in xrange(3) for y in xrange(3)]
 [list(x) for x in product(range(6), repeat=3)]

NExt

NExt

NExt

NExt

NExt

NExt