my_integer = 3
my_float = 3.5
my_list = [1, 3 ,10]
my_dict = {1:'apple', 2:'banana', 3:'pineapple'}

# use type() to return variable type
print('type of my_integer')
print(type(my_integer))

print('type of my_list')
print(type(my_list))

print('type of my_dict')
print(type(my_dict))

# change my_integer to string
integer_to_string = str(my_integer)

# use len() function to get list length
print('length of my_list is')
print(len(my_list))

# negative index in python list
print('my_list[-1] is')
print(my_list[-1])

# append element to list
print('append number 25 to my_list')
my_list.append(25)
print(my_list)