def myfun(): arr = [10, 23, 30, 30, 40, 45, 50] new_set = {num for num in arr if num % 2 == 0} print(new_set) if __name__=="__main__": myfun()

{40, 10, 50, 30}

57 . Write a python program to convert uppercase strings and we want to convert them into lowercase strings and remove duplicates ?

58 . Write a python program to display list of numbers and we want to return all the numbers from the list that are divisible by 2 and remove duplicates at the same time.

59 . Write a python program to calculate average using python *args ?

60 . Write a Python program to find the area of a triangle.

61 . Write a Python program to convert kilometers to miles.

62 . Write a Python program to convert Celsius to Fahrenheit.

63 . Write a Python Program to Check if a Number is Positive, Negative or Zero.

64 . Write a Python Program to Check if a Number is Odd or Even.

65 . Write a Python Program to Check Leap Year.

66 . Write a Python Program to Check Prime Number.

67 . Write a Python Program to Print all Prime Numbers in an Interval of 1-10.

For latest job updates join Telegram Channel: https://t.me/sateeshm