---
title: "Discussion on \"Mimic the fall-through behavior of switch in Python\" | Hashnode"
description: "Discussion on \"Mimic the fall-through behavior of switch in Python\". What is fall-through\nIn JavaScript, the switch statement allows for fall-through behavior. When a match is found in a switch statement, the corresponding block of code is executed until a break statement is encountered, at which point the switch stat..."
url: "https://hashnode.com/posts/mimic-the-fall-through-behavior-of-switch-in-python/65c0790f65ef50b1c880d537"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Mimic the fall-through behavior of switch in Python](https://blog.iread.fun/mimic-the-fall-through-behavior-of-switch-in-python?utm_source=hashnode&utm_medium=feed)

What is fall-through In JavaScript, the switch statement allows for fall-through behavior. When a match is found in a switch statement, the corresponding block of code is executed until a break statement is encountered, at which point the switch stat...

Feb 5, 2024 · 6 min read · blog.iread.fun  
Read the article

-   [#fall-through](https://hashnode.com/tag/fall-through)
-   [#switch-case](https://hashnode.com/tag/switch-case)
-   [#match-case](https://hashnode.com/tag/match-case)
-   [#python3](https://hashnode.com/tag/python3)
-   [#javascript-control-flow](https://hashnode.com/tag/javascript-control-flow)

## Written by

[v like](https://hashnode.com/@likev)

@likev

  
[View profile](https://hashnode.com/@likev)

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
