0

I'm searching for printing this :

random_numbers = [1, 5, 25, 4, 60]

print("Numbers are : ") 

for elem in random_numbers :
    print(elem, end=' ')

and the result have to be like this :

Numbers are : 1 5 25 4 60

So on the same line, with space and no quote. I searched for this on several forums and try to put in a function and call it right after printing "Numbers are : " but nothing worked, please help!

Andrew Li
  • 51,385
  • 12
  • 117
  • 139

0 Answers0