Data Science with Python 2023 in Urdu - 3: Functions, Lists, Tuples

Dr. Zohair – AI & NLP Insights · Advanced ·📄 Research Papers Explained ·2y ago

About this lesson

This is 3rdvideo of the course "Data Science with Python 2023". 1. A function is a block of code which only runs when it is called. You can pass data, known as parameters, into a function. A function can return data as a result. 2. Dictionary Dictionaries are used to store data values in key:value pairs. A dictionary is a collection which is ordered*, changeable and do not allow duplicates. 3. Tuples are used to store multiple items in a single variable. Tuple is one of 4 built-in data types in Python used to store collections of data, the other 3 are List, Set, and Dictionary, all with different qualities and usage. A tuple is a collection which is ordered and unchangeable. Practice: 1. Function https://github.com/zohairahmed007/DataScience/blob/main/practice/5_functions_exercise.md 2. Dictionary. Tuples https://github.com/zohairahmed007/DataScience/blob/main/practice/6_dict_tuple_exercise.md About Creator: I am a Computer Science Researcher, aim to explore creative content about science, technology, and computer areas. The emphasis on relevant, relatable, and useful content from the globe that has a passion for science and technology. Magazine/Blog: https://begindiscovery.com/ Author/Creator: https://bit.ly/2JNWfhY Facebook: https://bit.ly/3gvsa2L

Original Description

This is 3rdvideo of the course "Data Science with Python 2023". 1. A function is a block of code which only runs when it is called. You can pass data, known as parameters, into a function. A function can return data as a result. 2. Dictionary Dictionaries are used to store data values in key:value pairs. A dictionary is a collection which is ordered*, changeable and do not allow duplicates. 3. Tuples are used to store multiple items in a single variable. Tuple is one of 4 built-in data types in Python used to store collections of data, the other 3 are List, Set, and Dictionary, all with different qualities and usage. A tuple is a collection which is ordered and unchangeable. Practice: 1. Function https://github.com/zohairahmed007/DataScience/blob/main/practice/5_functions_exercise.md 2. Dictionary. Tuples https://github.com/zohairahmed007/DataScience/blob/main/practice/6_dict_tuple_exercise.md About Creator: I am a Computer Science Researcher, aim to explore creative content about science, technology, and computer areas. The emphasis on relevant, relatable, and useful content from the globe that has a passion for science and technology. Magazine/Blog: https://begindiscovery.com/ Author/Creator: https://bit.ly/2JNWfhY Facebook: https://bit.ly/3gvsa2L
Watch on YouTube ↗ (saves to browser)
Sign in to unlock AI tutor explanation · ⚡30

Related Reads

Up next
Welcome to the Next Temperamental Era
Charles Schwab
Watch →