# lst=[1,2,3,4,5]
# squres=[num**2 for num in lst]
# print(squres)
#
# fruits=["apple","orange","mango"]
# fruit=[(fruit,fruit) for fruit in fruits]
# print(fruit)

# lst1=[10,20]
# lst2=[30,40]
# pairs=[(num1,num2) for num1 in lst1 for num2 in lst2]
# print(pairs)

# lst1=[1,2,3,4,5,6,7]
# #print evens
# evens=[num  for num in lst1 if num%2==0 ]
# print(evens)

lst=[7,8,9,4,3,2]
# lst.append([(num+1) if num>5 else (num-1) for num in lst])
# print(lst)

# lst=[(num+1) if num>5 else (num-1) for num in lst]
# print(lst)