Перейти к содержимому

Python Student Profile Program | String, List, Tuple, Dictionary, Set & Queue in One Program

Dinesh

0:00 / 0:00

Python Student Profile Program | String, List, Tuple, Dictionary, Set & Queue in One Program

1 просмотр · 8 дней назад
Dinesh
5 подписчиков
1 просмотр · 8 дней назад
One beginner Python program that uses a variable, string, list, tuple, dictionary, set and queue together – a simple student profile. In this video I start by explaining the problem, then write the code, run it, and explain each data structure used. I end with the differences between them in simple terms. 📌 What's covered ✅ The problem – representing a student's profile in Python ✅ Variables & strings – storing a single value like a name ✅ List – learning topics (ordered, can be changed) ✅ Tuple – location (ordered, fixed, cannot be changed) ✅ Dictionary – student details as key : value pairs ✅ Set – unique skills (no duplicates) ✅ Running the program and reading the output ✅ Recap: the difference between list, tuple, dictionary, set and queue 🧠 Quick comparison List → ordered, changeable, allows duplicates [ ] Tuple → ordered, fixed, allows duplicates ( ) Dictionary → key-value pairs, keys are unique { key: value } Set → unordered, unique values only { } Queue → items handled in order, first in first out 👍 If this helped, like, subscribe and share it with someone learning Python. 💬 Questions? Drop them in the comments. #Python #PythonForBeginners #PythonProject #DataStructures #LearnPython #Coding — goxen