0

what will be the highest no. this function prints if called?

def print_numbers(): print(1) print(2) return print(4) print(6)

4th Jul 2022, 8:53 PM
VISHAL CHAUDHARY
VISHAL CHAUDHARY - avatar
5 Respostas
+ 3
VISHAL CHAUDHARY How hard would it be to copy this code, paste in Code Playground, and tap "Run"?
4th Jul 2022, 10:42 PM
Emerson Prado
Emerson Prado - avatar
+ 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
4th Jul 2022, 11:29 PM
Chris Coder
Chris Coder - avatar
+ 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
6th Jul 2022, 5:04 PM
Chris Coder
Chris Coder - avatar
0
2
6th Jul 2022, 3:19 PM
N. Vimukthi Dilshan Fernando
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.
6th Jul 2022, 4:02 PM
Emerson Prado
Emerson Prado - avatar