
#this practice is just for refreshment
'''for more refreshment i can comment multiple lines here'''

#print('hello i\'m maynul islam')

'''my_var = 10 + 5
print(my_var)'''

# how to concatenate??

'''my_var = "I live in "
country_name = "Bangladesh"
print(my_var+country_name)'''

#another example of concatenate

'''text = "two and two makes "
math = 2 + 2
result = str (math)
print(text + result)'''

# if and else statement
'''if(condition):
        task
   else:
        task '''
# sample code
'''age = 12

if(age>=18):
    print("you are an adult")

elif(age<=13):
    print("you are an kid")

else:
    print("you are not adult")'''

# while loop
'''while condition:
    #code
    #condition'''

'''i = 1
while i<=100:
     print("I am a muslim")
     i+=1'''

#print even number using while loop

'''i=1
while i<=100:
    if i%2 == 0:
        print("no even number" )
        print(i)
    elif i%2 == 1:
        print("This is odd number")
        print(i)
    i+=1
'''
# list
data = [34, 45, 56, 67, 78, 12, 78, 89]
'''i=0

while i<=7:
    print(data[i])
    i+=1'''
      #using for loop
'''for x in data:
    print(x)'''

#function

def example_function():
    '''
    print("hello i'm from example function")
    a,b=4,5
    sum=a+b
    print(sum)
#the function must be in the right alignment for as a part of one function

example_function()'''

#function using parameter

'''def sum(num1, num2):
    total= num1 + num2
    print(total)
sum(3,4)
'''

#global and local variable

'''x=12

def example_function():
    global x
    x = x+1
    local = x
    local = local + 1
    print(local)
example_function()'''




