Python Virtual Training For Arcesium - Module I - Day 3

Sep 13-17, 2021 Vikrant Patil

These notes are available online at https://notes.pipal.in/2021/arcesium_finop_batch1/module1-day3.html

© Pipal Academy LLP

Day 1 | Day 2 | Day 3 | Day 4 | Day 5

We will be using jupyter hub from https://lab.pipal.in for this training.

login to hub and create a notebook with name module1-day3

Problems for practice

>>> NAV(assets,liabilities,shares)
>>> numeric_value("(35.5)")
-35.5
>>> numeric_value("32.5")
32.5

Some guidelines to remember

style guide

f(x) = x*x + 2*x = 1

porblems

What will this print?

x = 10

def foo(x):
    x = 30

foo()
print(x)
statement            namespcae        memory                         statement     namespace                        memeory
numbers = [1, 1, 1]  numbers                                                         items (will point to numbers)   

appendzero(numbers)                   [1, 1, 1, 1]

Passing functions as argument

``` flow of max execution