Skip to content

Instantly share code, notes, and snippets.

@Luna-Klatzer
Created June 26, 2023 13:59
Show Gist options
  • Save Luna-Klatzer/6134a22f90c0af803a80b88e7de1976c to your computer and use it in GitHub Desktop.
Save Luna-Klatzer/6134a22f90c0af803a80b88e7de1976c to your computer and use it in GitHub Desktop.
Simple Kipper program to calculate the power-to of two numbers
def pow(base: num, powerTo: num) -> num {
return base ** powerTo;
}
var result: num = pow(2, 8); // -> 256
print(result as str);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment