• Courses
  • Code Compiler
  • Discuss
  • Pricing
  • Teams
Menu
0

why did the program print "I printed" (line 2)?

This code was taken from stackoverflow, it's not mine https://code.sololearn.com/ckBHtDpJJ06U/?ref=app

pythonproblemstackoverflow
24th Jan 2019, 6:43 PM
Farah
Farah - avatar
1 Answer
+ 5
Because of the function call on line 7.
24th Jan 2019, 6:51 PM
Zen
Zen - avatar

Often have questions like this?

Learn more efficiently, for free:

  • Introduction to Python

    7.1M learners

  • Introduction to Java

    4.7M learners

  • Introduction to C

    1.5M learners

  • Introduction to HTML

    7.5M learners

See all courses
Hot today
Can I learn from sololearn for free ?If yes then why can't I open the next level in genai course?
2 Votes
Python Concurrency Problem (P#1)
0 Votes
AI courses completable without pro?
2 Votes
Why is there no advanced level? đŸ‘šâ€đŸ«
3 Votes
Kaleidoscopes
1 Votes
Java - system security(not getting the loops right)
2 Votes
Which Python course should I pick?
2 Votes
Curious
0 Votes
Code challenge Test Inputs
0 Votes
Mastering DBMS
1 Votes