1+1
2
cermak.science/teaching/automation/lectures/01-uvod/presentation.html
. . .
Python
Excel
Julia, R
1+1
2
2+3*4+1
15
2+3 * 4 +1
15
2+3)*(4+1) (
25
2**10
1024
2**100
1267650600228229401496703205376
numbers = [12, 34, 56, 78, 90]
total = 0
for num in numbers:
total += num
average = total / len(numbers)
print(f"Průměr: {average}")
Průměr: 54.0
. . .
= sum(numbers) / len(numbers)
average print(f"Průměr: {average}")
Průměr: 54.0
. . .
import numpy as np
print(f"Průměr: {np.mean(numbers)}")
Průměr: 54.0