Learn Python Easy Way
Tuesday, April 19, 2016
using global variable in a function
http://stackoverflow.com/questions/19182963/global-variable-and-python-flask
str = 'Hello'
def f1():
global str
print str
=> 'Hello'
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment