In this tutorial, we'll show you how to write a simple program in Python that allows the user to input a list of names and then prints out the names in alphabetical order.
We'll start by demonstrating how to take user input and store it in a list, and then use the built-in "sorted" function to sort the names in alphabetical order.
Python Exercise Playlist:
• #1 Exercise - Create a Python Script to Pr...
Don't forget to hit the subscribe button for more programming tutorials like this one!
Sur cette page du site, vous pouvez voir la vidéo en ligne #10 Exercise - Write a Program that Sorts Names Alphabetically. durée heure minute seconde en bonne qualité , qui a été Téléchargé par l'utilisateur Cyber with Afshan 10 janvier 2023, Partagez le lien avec vos amis et connaissances, sur youtube cette vidéo a déjà été regardée 1,146 fois et il a aimé 22 téléspectateurs. Bon visionnage!