0
what will be the highest no. this function prints if called?
def print_numbers(): print(1) print(2) return print(4) print(6)
5 Respostas
+ 3
VISHAL CHAUDHARY How hard would it be to copy this code, paste in Code Playground, and tap "Run"?
+ 1
Hi VISHAL CHAUDHARY A great way to learn how to code is to practice in the playground.
Navigate back and select code. Then + New Code and select the language of your choice.
Here I have provided a playground for you. I recommend creating your own so that my name does not show at the top of your codes.
https://code.sololearn.com/c97mFVYVW0iX/?ref=app
+ 1
VISHAL CHAUDHARY I updated my code with some comments.
Let me know if you have any questions.
https://code.sololearn.com/c97mFVYVW0iX/?ref=app
0
2
0
N. Vimukthi Dilshan Fernando The idea of the Q&A section is to help people in the learning process. Instead of giving the final answer, prefer giving hints for the OP to find the solution. This teaches way more.