1 2 3 4 5 6
\SetAlgoLined \SetKwProg{Fn}{Function}{ is}{end} \Fn{afunc(i: int) : int}{return 0\;} \SetKwProg{Def}{def}{:}{} \Def{afunc(i: int)}{return 0\;}