To add to _mratsim_ answer, you can also write:
    
    
    import math
    
    echo 2.0^2 * 2.0
    
    
    Run

and even:
    
    
    import math
    
    echo 2.0^2 * 2
    
    
    Run

In the latter code, the compiler convert 2 to 2.0 as it knows that a float is 
expected. So, there is some flexibility though.

Reply via email to