0

Write a function called sixteen lines th as t uses fourlines to print sixteen blank lines.Print sixty four blank lines using thi

5th Sep 2018, 10:58 PM
Uthay King
Uthay King - avatar
8 Réponses
+ 1
Well, you could simply do: print ("\n"*64) So not sure why you would need two functions. def sixteen(): print("\n"*16) def four(): for x in range(4): sixteen() four() I can't see the point in this, though.
5th Sep 2018, 11:37 PM
benjamin
0
Please can you clarify what you mean?
5th Sep 2018, 11:26 PM
benjamin
0
see here first create a function called sixteen lines and inside than call a function four lines like this u want to create 64 blank lines
5th Sep 2018, 11:29 PM
Uthay King
Uthay King - avatar
0
answer i posted
5th Sep 2018, 11:30 PM
Uthay King
Uthay King - avatar
0
as lines
5th Sep 2018, 11:30 PM
Uthay King
Uthay King - avatar
0
thanks bro
5th Sep 2018, 11:42 PM
Uthay King
Uthay King - avatar
0
Happy to help. Best of luck.
6th Sep 2018, 12:13 AM
benjamin
0
kk
6th Sep 2018, 12:15 AM
Uthay King
Uthay King - avatar