Functions in python
mhs_mhs123 (4)

Hey everyone, I'm a new python dev and i'm trying to familiarize myself with functions. for my first functions project, I tried making a miles to km converter, but I'm running into an error. can someone tell me what I did wrong and how to fix it. Thanks.

https://repl.it/@mhs_mhs123/milestokmconverter

You are viewing a single comment. View All
pattmax (3)

Change the print to a return and then you can do

print(convert(5))