Study guides, Class notes & Summaries
Looking for the best study guides, study notes and summaries about ? On this page you'll find 1 study documents about .
All 1 results
Sort by
-
CS1101 - Unit 5 Questions and Answers Already Passed
- Exam (elaborations) • 5 pages • 2024
- Available in package deal
-
- $9.99
- + learn more
CS1101 - Unit 5 Questions and Answers 
 
Already Passed 
 
What does function subroutine do? 
 
def subroutine( n ): 
while n > 0: 
print (n,) 
n -= 1 Counts from n down to 1 and displays each number 
 
What output will the following python command produce: 
 
>>> percentage = float ( 60 * 100) / 55 
>>> print (percentage) 109. 
 
What output will the following python commands produce: 
n = 10000 
count = 0 
 
while n: 
 
count = count + 1 
 
n = n // 10 
 
print (count) 5 
...
And that's how you make extra money
Did you know that on average a seller on Stuvia earns $82 per month selling study resources? Hmm, hint, hint. Discover all about earning on Stuvia