# msg = "Hello World"
# print(msg)


# data type

# print(type(10)) # int
# print(type(10.9)) #float
# print(type("batool")) #string
# print(type([1,2,3,4])) #list
# print(type((1,2,3,4))) #tuple
# print(type({"one": 1,"two":2})) #dictionary
# print(type(2==4))# boolean


# #variable

# myvariable=" hi"
# print(myvariable)

# #Escaping
# print("hi\bbatool")


# #Escap new line
# print("i love \
#     python")

# # line feed
# print("hello\nbatool maali")

# #carriage return
# print("123456\rAbcd")

# #tap
# print("123456\tAbcd")

#character hex value
# print("\x4Fy\x73")

# Concatenation 
# a= "first \
#    secound \
#    third"

# b="A\
#    B\
#    C"

# print(a+"\n"+ b)

# #new line """
# strr="""first
# second "batool"
# third"""
# print(strr)


#index
mystring="i love python"
print(mystring[9])
print(mystring[-1])

#slicing
#[start:end] end not include
#[start:end:steps]

# print(mystring[8:11])
# print(mystring[:11])
# print(mystring[5:])
# print(mystring[0::2])
