+ 2

what is the different between ?

list =[101,23,403,54,45]; list.sort(); print(list);  and  list =[101,23,403,54,45]; list=

2nd Jun 2021, 7:16 AM
P R I N C E N A I N ✓
P R I N C E  N A I N   ✓ - avatar
5 Answers
+ 4
The future is now thanks to science[INACTIVE] I think he is talking about difference between list =[101,23,403,54,45]; list.sort(); print(list);  and  list =[101,23,403,54,45]; print (list.sort()) P r i n c e N a i n am I right?
2nd Jun 2021, 7:38 AM
A͢J
A͢J - avatar
+ 8
Your question is unclear. Can you please clear your question and also please attach your code on code playground? Thanks. https://www.sololearn.com/post/75089/?ref=app
2nd Jun 2021, 7:22 AM
The future is now thanks to science
The future is now thanks to science - avatar
3rd Jun 2021, 3:24 AM
A͢J
A͢J - avatar
+ 2
Yes right
3rd Jun 2021, 2:50 AM
P R I N C E N A I N ✓
P R I N C E  N A I N   ✓ - avatar
+ 2
Yes
3rd Jun 2021, 4:19 AM
P R I N C E N A I N ✓
P R I N C E  N A I N   ✓ - avatar