CIS 1100 midterm 1— some important stuff

0.0(0)
Studied by 0 people
call kaiCall Kai
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
GameKnowt Play

1/5

encourage image

There are no tags or description

Looks like no tags are added yet.

6 Terms

1
New cards

random.random()

returns float from 0 to 0.99999…

2
New cards

random.randint(a,b)

generates random integer between a and b including a and b

3
New cards

what must I use with pd.next_key_types()

pd.has_next_key_typed()

4
New cards

penndraw boolean function that determines if the user clicks

pd.mouse_pressed()

5
New cards

what is command line argument

everything typed into the terminal after “python”

6
New cards

list = []

print(list[0])

what happens?

crash/error