Introductie tot Python voor finance

Introductie tot Python voor Finance

Adina Howe

Associate Professor

Zo meteen...

histogram

koers-winstverhouding

Introductie tot Python voor Finance

Waarom Python voor finance?

  • Makkelijk te leren en flexibel
    • Algemeen doel
    • Dynamisch
    • Hoog-niveau taal
  • Integreert met andere talen
  • Open source
    • Toegankelijk voor iedereen

 

python-logo

Introductie tot Python voor Finance

$$ Datacamp-schermafbeelding

Introductie tot Python voor Finance

Veelgebruikte rekenoperatoren

Operator Betekenis
+ Optellen
- Aftrekken
* Vermenigvuldigen
/ Delen
% Modulo (rest van deling)
** Macht
Introductie tot Python voor Finance

Veelgebruikte rekenoperatoren

# Print de som van 8 en 4
print(8 + 4)
12
# Print 8 gedeeld door 4
print(8 / 4)
2
  • Gebruik print() expliciet
Introductie tot Python voor Finance

Nog vragen?

# Print 8 gedeeld door 2
print(8 / 2)

# Print 2 tot de macht 2
print(2**2)

# Print 1,0 plus 0,10
print(1.0 + 0.10)
Introductie tot Python voor Finance

Laten we oefenen!

Introductie tot Python voor Finance

Preparing Video For Download...