Python
Get insights from 221 questions on Python, answered by students, alumni, and experts. You may also ask and answer any question you like about Python
Follow Ask QuestionQuestions
Discussions
Active Users
Followers
New answer posted
5 months agoContributor-Level 10
In Python, "branching" refers to the action of executing blocks of code based on whether certain conditions are met or not. This allows programs to take decisions and respond dynamically to various inputs or states.
Python contains only one kind of branch, the 'if' statement. If the predicate given is true, it executes a block of code and not execute it if the predicate is false.
New answer posted
5 months agoContributor-Level 10
After completing the Python course, one can acquire the skills of data science, web applications, and rapid application development. The main Python subjects are -
Python fundamentals and programming: It comprises functions, conditional execution, and loops, strings, lists and tuples, scopes and namespaces, modules, dictionaries, and sets
Intermediate Python: It includes file handling, object-oriented programming, iterators, generators, decorators, and lambda expressions.
Advanced Python subjects comprise C code in Python, writing library, closure, method chaining, function factory, building framework, Python in C#, Python in Java,
New answer posted
5 months agoContributor-Level 10
Key Concepts in Python
Below are the essential concepts that you must know while learning Python.
| Key Concepts | Description |
|---|---|
| Variables | Store data values in the program. |
| Data Types | Built-in types of data like numbers, strings, lists, etc. |
| Operators | Special symbols in Python that carry out arithmetic or logical computation. |
| Conditional Statements | These are decision-making structures used to execute code based on certain conditions. |
| Loops | Control structures are used to repeat a block of code a certain number of times or until a certain condition is met. |
| Functions | A block of code that can be called multiple times in a program. |
| Classes and Objects | Classes are templates for creating objects, which are instances of a class. |
| Exception Handling | A mechanism to handle errors and exceptions that may occur in a program. |
| Modules and Packages | A way to organize code into reusable and separate units. |
New answer posted
5 months agoContributor-Level 10
| Company | Example or Use Case |
|---|---|
| Python is used in building Google's web crawlers and search algorithms., also used in the creation of the Google File System. | |
| Spotify | Python caters to data analysis and machine learning is used in creating personalized playlists and is also used for back-end services. |
| Netflix | Python is utilized for data analysis to improve the recommendation system, for personalization algorithms, and testing and deployment of their streaming platform. |
| Python is used for data analysis & machine learning in their news feed algorithm. | |
| Dropbox | Python helps back-end services and data analysis to enhance the performance of their file-sharing platform and implement file-syncing. |
Taking an Exam? Selecting a College?
Get authentic answers from experts, students and alumni that you won't find anywhere else
Sign Up on ShikshaOn Shiksha, get access to
- 66k Colleges
- 1.2k Exams
- 681k Reviews
- 1800k Answers
