I dont think this code is correct as there is no print_numbers() in the end.I tried to run this in other IDE's but it didnt work | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

I dont think this code is correct as there is no print_numbers() in the end.I tried to run this in other IDE's but it didnt work

def print_numbers(): print(1) print(2) return print(4) print(6) If you add print_funtions() in the end it works...Sololearn please correct it

5th May 2020, 8:49 PM
Chinmaya Behera
Chinmaya Behera - avatar
2 Answers
+ 3
Can you save your code to the Code Playground and post a link to it? That way we can try running it. It looks like you have defined your function but haven't called it.
6th May 2020, 1:24 AM
David Ashton
David Ashton - avatar
+ 1
You can mail sololearn for that ,and if it isn't meant to called why bother ?or if you can tell where did you this example from ?
5th May 2020, 8:50 PM
Abhay
Abhay - avatar