Rewrite the Jenny’s eyes function to double Jenny’s eyes, making them appear twice.
What will be an ideal response?
```
def copyEyes2 ():
# Set up the source and target pictures
src = makePicture("jenny-red.jpg")
canvas = makeEmptyPicture (getWidth(src) ,getHeight(src))
# Now , do the actual copying
for sourceX in range(0,getWidth(src)):
for sourceY in range(0,getHeight(src)):
if (sourceX>108) and (sourceX<(108+91)) and (sourceY>201) and
(sourceY<(201+107)):
color = getColor(getPixel(src,sourceX,sourceY))
setColor(getPixel(canvas ,sourceX ,sourceY), color)
setColor(getPixel(canvas, sourceX, sourceY+214), color)
show(src)
show(canvas)
return canvas
```
You might also like to view...
The SCO specifies the specific ____ elements of the enterprise's information security compliance program.
A. compliance B. operational C. accounting D. control
If you want to link an Excel chart to a PowerPoint presentation, you must leave Excel open after the chart is copied
Indicate whether the statement is true or false
________ is the maximum number of users that can access a shared file at once
Fill in the blank(s) with correct word
A technician is troubleshooting a Windows 10 x64 desktop system with a Type 2 hypervisor that is hosting four VMs that must be run simultaneously. The technician suspects the sluggish performance is due to insufficient physical RAM in the host computer and has disabled dynamic RAM allocation in the hypervisor. Assuming each operating system installed requires 2GB of RAM, what is the minimum amount of physical RAM that will need to be installed in the host system to meet the requirements of this scenario?
A. 2048MB B. 4096MB C. 8192MB D. 10240MB E. 12288MB