Written by students who passed Immediately available after payment Read online or as PDF Wrong document? Swap it for free 4.6 TrustPilot
logo-home
Exam (elaborations)

Computer Science CMU academy 2024

Rating
-
Sold
-
Pages
7
Grade
A+
Uploaded on
06-03-2024
Written in
2023/2024

Rotating star - ️️round = gradient('black', 'midnightBlue', 'blue', start='left-top') # background Polygon(0, 0, 400, 220, 400, 400, 220, 400, fill='white', opacity=30) # halo and the star halo = Circle(0, 0, 30, fill=gradient('white', 'gold'), opacity=50) Growing = True star = Star(0, 0, 1, 5, fill=gradient('lightYellow', 'gold')) def onKeyHold(keys): # Check if the halo is growing and add or subtract accordingly from its size. ### Place Your Code Here ### if(Growing==True): s+=1 else: s-=1 # If the radius is bigger than 50 or smaller than 20, change Growing. ### Place Your Code Here ### if(s50): Growing=False elif (s20): Growing=True # If right is held, increase the centerX, centerY, and rotateAngle by 5 # and the radius by 1. Also, wrap around from right-bottom corner to left-top # corner and reset the radius of the star to 1. ### Place Your Code Here ###

Show more Read less
Institution
Computer Science CMU
Course
Computer Science CMU









Whoops! We can’t load your doc right now. Try again or contact support.

Written for

Institution
Computer Science CMU
Course
Computer Science CMU

Document information

Uploaded on
March 6, 2024
Number of pages
7
Written in
2023/2024
Type
Exam (elaborations)
Contains
Questions & answers

Subjects

$8.99
Get access to the full document:

Wrong document? Swap it for free Within 14 days of purchase and before downloading, you can choose a different document. You can simply spend the amount again.
Written by students who passed
Immediately available after payment
Read online or as PDF


Also available in package deal

Thumbnail
Package deal
CMU PACKAGE DEAL
-
5 2024
$ 13.99 More info

Get to know the seller

Seller avatar
Reputation scores are based on the amount of documents a seller has sold for a fee and the reviews they have received for those documents. There are three levels: Bronze, Silver and Gold. The better the reputation, the more your can rely on the quality of the sellers work.
jackline98 Stanford University
View profile
Follow You need to be logged in order to follow users or courses
Sold
270
Member since
3 year
Number of followers
152
Documents
9897
Last sold
1 hour ago

Here you will find different past papers with correct and updated solutions .Please do not forget to leave a review after purchasing any document .Goodluck and success in advance.

3.3

61 reviews

5
21
4
11
3
9
2
5
1
15

Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their tests and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can instantly pick a different document that better fits what you're looking for.

Pay as you like, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card and download your PDF document instantly.

Student with book image

“Bought, downloaded, and aced it. It really can be that simple.”

Alisha Student

Working on your references?

Create accurate citations in APA, MLA and Harvard with our free citation generator.

Working on your references?

Frequently asked questions