# names_list=["shivam","jayshri","rahul"]
# if "shivam" in names_list:
#     print ("Shivam ka naam `names_list` mei hai")
# else:
#     print ("Shivam ka naam `names_list` mei nahi hai." )
# if "reena" in names_list:
#     print("reena is in 'names_list'")
# else:
#     print("reena is not in 'names_list'")

# students_list = ["robin", "anamika", "faisal", "valmiki", "waseem", "amara"]
# list_length = len(students_list)
# # i = 0
# # while i < list_length:
# #     print (students_list[i])
# #     i = i + 1 
# for i in range(0,list_length):
#     print(students_list[i])


# student_marks = [23, 45, 89, 90, 56, 80] 
# length = len(student_marks)
# index = 0
# total_marks = 0
# while index < len(student_marks):
#     total_marks = student_marks[index] + total_marks
#     index = index + 1
# print ("Total Marks: ",(total_marks))


# student_marks = [23, 45, 67, 89, 90, 54, 34, 21, 34, 23, 19, 28, 10, 45, 86, 87, 9]
# list_length = len(student_marks)
# index = 0
# less_than50 = 0
# more_than50 = 0
# while index < list_length:
#     marks = student_marks[index]
#     if marks < 50:
#         less_than50 = less_than50 + 1
#     else:
#         more_than50 = more_than50 + 1
#     index = index + 1
# print ("Marks more than 50: " + str(more_than50))
# print ("Marks less than 50: " + str(less_than50)) 
# print(less_than50+more_than50)

# magic_square = [
#     [8, 3, 4],
#     [1, 5, 9],
#     [6, 7, 2]
# ]

# print (type(magic_square))
# print (type(magic_square[0]))
# printsum+=a[i] (type(magic_square[1]))

# print (sum(magic_square[0]))
# print (sum(magic_square[1]))
# print (sum(magic_square[2]))






# a=[1,2,3,4,5]
# i=0
# sum=0
# while i<len(a):
#     sum+=a[i]
#     i+=1
# print(sum)









    
# If check(my_list) returns True, then I continue working on my list:

# while check(my_list):
#     for item in my_list:
#         if condition:
#             item[2] = 1
#         else:
#             do_sth()

# 
# name=["neelam","komal","anuradha","Abhishek"]
# designation=["programer","trainer","HR","manager"]
# age=["24","24","25","29"]
# salary=["24000","200000","400000","630000"]
# i=0
# s=[]
# a=[]
# y=[]
# n=[]
# while i<len(name):
#     if i==0:
#         e=name[i],designation[i],age[i],salary[i]
#         s.append(e)
#     elif i==1:
#         f=name[i],designation[i],age[i],salary[i] 
#         a.append(f)
#     elif i==2:
#         g=name[i],designation[i],age[i],salary[i]
#         y.append(g)
#     else:
#         h=name[i],designation[i],age[i],salary[i] 
#         n.append(h)
#     i+=1
# print(e)
# print(f)
# print(g)
# print(h)


# name=[["neelam","programer","24","2400"],["komal","trainer","24","20000"],["anuradha","HR","25","40000"],
# ["abhishek","manager","29","630000"]]
# i=0
# while i<len(name):
#     j=0
#     a=[]
#     while j<len(name):
#         x=name[i][j]
#         print(x)
#         j+=1
#     i+=1



