8000 Add match-case example · romeshpg/learning-python-2896241@32bfbce · GitHub
[go: up one dir, main page]

Skip to content

Commit 32bfbce

Browse files
committed
Add match-case example
1 parent 61b20b3 commit 32bfbce

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Ch2 - Basics/conditionals_start.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ def main():
1313
# conditional statements let you use "a if C else b"
1414

1515
# match-case makes it easy to compare multiple values
16-
16+
value = "one"
1717

1818
if __name__ == "__main__":
1919
main()

0 commit comments

Comments
 (0)
0