# list  = ["abc","defg","zhijk"]
# i = 0
# max = " "
# for i in list:
#     c = 0 
#     for j in list:
#         if len(i) < len(j):
#             max = i
#             c+=1
#         if c == 3:
#             print(max,"its a third largest string")
#             break
          

# #1
# num = ["abc","defg","zhijk"]

# #2
# largest_num = num[0]
# second_largest_num = num[0]
# third_largest_num = num[0]

# #3
# for i in num :
#     #4
#     if len(i) > len(largest_num):
#         third_largest_num = second_largest_num
#         second_largest_num= largest_num
#         largest_num = i
#     #5
#     elif len(i) > len(second_largest_num ):
#         third_largest_num = second_largest_num
#         second_largest_num = i
#     #6
#     elif len(i) > len(third_largest_num ):
#         third_largest_num = i

# #7
# print("Third largest number of the list is {}".format(third_largest_num))

