New course! Every coder should learn Generative AI!
Try a free lesson0
Solve the code help meee
https://sololearn.com/compiler-playground/cJbat55MrXaD/?ref=app
3 Answers
+ 4
Ahmed Khalaf ,
indentation is not correct. maybe you should read the related lesson again, and also do some practices.
> you also should use *4 spaces* per indentation level, this is recommended in the python style guide.
the code should look like this:
def add_numbers(a, b):
result = a + b
return result
sum_result = add_numbers(5, 3)
print(sum_result)
+ 3
Ahmed Khalaf , you are welcome ....
+ 1
Thanks