13. Write two python program to print out the 5 symbols of "$" without newline and another 5 symbols of "@" in newline
The output is:
Expected Sample Answer 1:
$$$$$
Expected Sample Answer 2:
@
@
@
@
@
Sample Answer 1:
for i in range(0, 5): print('$', end='')
Sample Answer 2:
for i in range(0, 5): print('@', end='\n')
More Exercises:
Python String ExercisesMore Numpy Exercises:
Numpy String ExercisesMore Pandas Exercises:
Pandas Series ExercisesMore Tutorials:
Python Installation - Linux (Ubuntu)