Quiz — converting the types
Select the allowed assignments in Raku.
|1||my Int $a = π.Int;|
|0||my Int $b = π;||
|0||my Rat $c = π.Int;||Even if
|1||my Rat $d = π.Str.Rat;||Double type conversion, just for fun, there’s no particular sense in it, but it is legal.|
|0||my Num $e = π.Int;|
|1||my Num $f = π.Int.Str.Num;|
💪 Or jump directly to the exercises to this section.