FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
Python_Basics/python_programs/variable_scope_3.py at master · learnbyexample/Python_Basics · GitHub
This repository was archived by the owner on Dec 29, 2020. It is now read-only.
learnbyexample
/
Python_Basics
Public archive
Notifications
You must be signed in to change notification settings
Fork
196
Star
614
Code
Issues
0
Pull requests
0
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
Python_Basics
/
python_programs
/
variable_scope_3.py
Copy path
More file actions
More file actions
Latest commit
History
History
History
8 lines (6 loc) · 141 Bytes
Breadcrumbs
Python_Basics
/
python_programs
/
variable_scope_3.py
Copy path
File metadata and controls
8 lines (6 loc) · 141 Bytes
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
#!/usr/bin/python3
def
square_of_num
(
num
):
global
sqr_num
sqr_num
=
num
*
num
square_of_num
(
5
)
print
(
"5 * 5 = {}"
.
format
(
sqr_num
))
Back
|
FazBrowse Home
|
New Git URL