Segmentation Fault, Got Object when returning a Float

mojo test.๐Ÿ”ฅ
/mnt/d/Projects/QUk.YW5k.TUw/Cartoonify/test.๐Ÿ”ฅ:18:32: error: cannot implicitly convert 'object' value to 'FloatLiteral' in assignment
pi = monte_carlo_simulation(10)
~~~~^~
mojo: error: failed to parse the provided Mojo
Was this page helpful?