Новый курс! Каждый программист должен знать генеративный ИИ!
Попробуйте бесплатный урок0
How to arrange something in alphabetical order
For e.g names such as abhi, sneha, rishi, etc how to arrange them in alphabetical order in python
5 ответов
+ 3
Just sort them, easy! ;)
+ 2
https://code.sololearn.com/c42UCf85s08Z/?ref=app
keep in mind its only superficial. Look at the codebit j
https://code.sololearn.com/c4AHlF0J0EhK/?ref=app
+ 2
Hi
You use use sorted function.
s = "acxd"
print (sorted(s))
#output = ['a','c','d','x']
but it's better to use loops
0
Thanks😊
0
Thanks😊😊