MCPcopy Create free account
hub / github.com/CodeWithHarry/The-Ultimate-Python-Course / main

Function main

Chapter 12/07_try_finally.py:1–14  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1def main():
2 try:
3 a = int(input("Hey, Enter a number: "))
4 print(a)
5 return
6
7
8 except Exception as e:
9 print(e)
10 return
11
12
13 finally:
14 print("Hey I am inside of finally")
15
16
17main()

Callers 1

07_try_finally.pyFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected