M12) Line execution order in nested calls
The main function in Listing 1 passes the result of double(3) to add_one. The comments A to E mark lines in the function bodies. Consider only those marked lines when tracing the program.
In what order does Python execute the marked lines, and what does the program print?
- C, D, A, B, E; prints
7 - A, B, C, D, E; prints
8 - C, A, D, B, E; prints
7 - E, C, D, A, B; prints
7