print("Hello world")

# this is comment line '#' is used for single commenting a line


#part 2 lets see how to take data from user


data= input("user enter your data: ")

print("the data entered by user is ", data)



# learning indents

num=4
if num%2==0:
    print("this the part of the in true condition\n")
else:
    print("this is else part for false condition")


#data types conversions


x= int('12')
print("the value of int stored as string is: ",x)

#same goes for float() and complex

#NOTE: data inside complex can be of any numeric type but only numeric data type

c=complex(32,22)

print("complex number is",c)


#String


s= 'string'
d="string"
f='''string'''
g="""string"""
        #all the strings are same

#NOTE: use triple quote for multiple line string


################

#String functions

print(s[2]) #printing the char at 2nd index

#note String is Immutable and so its data cannot be changed

#  s[2]= 'a'  will give error




