|
Oktatás * Programozás 2 * Szkriptnyelvek * Adator. prog. Teaching • Prog. for Data Sci. Félévek Linkek * kalendárium |
Nim2 /
raise to powerecho 2 ^ 3 # ERROR Solution: import the import std/math echo 2 ^ 3 # 8 Why? The "operator" pow()There's also a import std/math echo pow(2.0, 3.0) # 8.0 |
![]() Blogjaim, hobbi projektjeim * The Ubuntu Incident [ edit ] |