Write a function called openAll that has as input arguments the file names of three image files to be opened, then:
1. Creates the image for each file.
2. Displays each image.
Test case
Input: argument#1 orangefish.gif, argument#2 purplefish.gif, argument#3 purdue.gif
SO far I have this code but it is not showing the pictures:
def openAll(x,y,z):
x = 'orangefish.gif'
y = 'purplefish.gif'
z = 'purdue.gif'
myImage = Image.open(x)
myImage = Image.open(y)
myImage = Image.open(z)
myImage.show()
Any Suggestions?

New Topic/Question
Reply



MultiQuote





|