fork download
  1. # 3 blank lines will be printed
  2.  
  3. def three_lines():
  4. print ("\n")
  5. print ("\n")
  6. print ("\n")
  7.  
  8. #9 blank lines will be printed
  9.  
  10. def nine_lines():
  11. three_lines()
  12. three_lines()
  13. three_lines()
  14.  
  15. print ("First line")
  16. nine_lines()
  17. print ("Nineth line")
  18.  
  19. def clear_screen():
  20. nine_lines()
  21. nine_lines()
  22. three_lines()
  23. three_lines()
  24.  
  25. #25 blank lines will be printed
  26.  
  27. print ("twenty-five blank lines")
  28. clear_screen()
  29.  
  30.  
Success #stdin #stdout 0.02s 9016KB
stdin
Standard input is empty
stdout
First line


















Nineth line
twenty-five blank lines