# 
# Example file for variables
# (For Python 3.x, be sure to use the ExampleSnippets3.txt file)
#Declare a variable and initialize it
f=0;
print(f)
#Re-Declare a variable
f="abc"
print(f)
#Error :Different types can't be combined
#print("string")+123 [Gives Error]
print("string" +str(123))
def somefunction():
    global f
    f="def"
    print(f) #Gives output = def
somefunction()
print(f) #Gives output =def
del (f) # Delete a variable
print (f) # Gives error as f is deleted
d6179ad7f15728b6de23eb1d8d9d8b1a8c693baf
<mask token>

<mask token>


def somefunction():
    global f
    f = 'def'
    print(f)


<mask token>

<mask token>
print(f)
<mask token>
print(f)
print('string' + str(123))


def somefunction():
    global f
    f = 'def'
    print(f)


somefunction()
print(f)
del f
print(f)

f = 0
print(f)
f = 'abc'
print(f)
print('string' + str(123))


def somefunction():
    global f
    f = 'def'
    print(f)


somefunction()
print(f)
del f
print(f)

# 
# Example file for variables
# (For Python 3.x, be sure to use the ExampleSnippets3.txt file)
#Declare a variable and initialize it
f=0;
print(f)
#Re-Declare a variable
f="abc"
print(f)
#Error :Different types can't be combined
#print("string")+123 [Gives Error]
print("string" +str(123))
def somefunction():
    global f
    f="def"
    print(f) #Gives output = def
somefunction()
print(f) #Gives output =def
del (f) # Delete a variable
print (f) # Gives error as f is deleted