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
  • 55,805
  • 14
  • 125
  • 143

0 Answers0