Need help with for loops and end=""


#1
for number in range(4):
    print(number, end=" ")

for key in my_dict:
    print(key, my_dict[key], end="  ")

how can I print the second for loop on another line, this just prints it on the same one. I want to have it in one line but in the next one.


#2

Between the two loops, insert a print() statement so it moves the draw pointer to the next line.

for number in range(4):
    print(number, end=" ")
print()
for key in my_dict:
    print(key, my_dict[key], end="  ")

#3

Thanks a lot mate. :sunglasses::sunglasses::sunglasses::sunglasses: