Draw diagonal lines on a picture from top right to bottom left using addLine.
What will be an ideal response?
```
def lineDiagonal2 ():
img = makePicture(pickAFile())
midHeight = getHeight(img)/2
midWidth = getWidth(img)/2
addLine(img, getWidth(img), 0, midWidth, midHeight)
addLine(img, midWidth, midHeight, 0, getHeight(img))
show(img)
return img
```
Computer Science & Information Technology
You might also like to view...
Wikis are designed for ________, allowing people to contribute more than just posting a response
A) collaboration B) expert opinions C) asynchronous communication D) synchronous communication
Computer Science & Information Technology
As with other actions in Access, you can undo the changes made by running actions queries
Indicate whether the statement is true or false
Computer Science & Information Technology