+ 1
print(''.join(sorted(i)), end=' ')
In this what is the Meaning of 'end' in the last... Plzzz tell me clearly what is the purpose of "end" there
4 Answers
+ 1
Naveen , the meaning is literally what it says. It gives us the choice on how to end the sentence. 'Naveen' would end the statement as Naveen,
i = ["8","3","2"]
print(''.join(sorted(i)), end='Naveen')
238Naveen
[Program finished]
+ 5
By default print function has newline as end , here you are changing it to ' '.
+ 2
Use google
0
Subham tq it is a very nice explanation