I am trying to return True or False
by comparing dimension size(width and heights) of two pictures.
so i came up withimport media
f = media.choose_file()
pic = media.load_picture(f)
g = media.choose_file()
pic1 = media.load_picture(g)
x = pic.get_width() * pic.get_height()
y = pic1.get_width() * pic1.get_height()
but i have no idea return these valuse to true and false(bool).
Also, i have another thing to solve,
Return a new 20 pixel by 20 pixel Picture that has a white background, a black 16 by 16 oval at position (0, 0), and a black letter C (uppercase) at position (6, 3).
For this one i came up with,
pic = media.create_picture(20, 20)
i know that i have to use media.add_oval and media.add_text function
but i have no idea how to.
plz help me out here.