What are the branches in Python?
3 Views|Posted 6 months ago
Asked by Shiksha User
1 Answer
D
Answered by
6 months ago
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
Taking an Exam? Selecting a College?
Get authentic answers from experts, students and alumni that you won't find anywhere else.
On Shiksha, get access to
66K
Colleges
|
1.2K
Exams
|
6.8L
Reviews
|
1.8M
Answers
Didn't find the answer you were looking for?
Search from Shiksha's 1 lakh+ Topics
or
Ask Current Students, Alumni & our Experts
Have a question related to your career & education?
or
See what others like you are asking & answering