1
Midterm Handout B
for
e02
CS8 S18

Output choices for screen question

(1)

*********
*********
*********
         
*********
*********
*********
*********

(2)

**** ****
**** ****
**** ****
**** ****
**** ****
**** ****
**** ****
**** ****

(3) choose this number
to indicate that
there is no output

(4)

****
****
****

(5)

TypeError: object of type 'NoneType' has no len()

(6)

*********
*********
*** *** *
*** *** *
*** *** *
***     *
*********
*********

(7)

*********
*********
***     *
*** *** *
*** *** *
*** *** *
*********
*********

(8)

*********
**    ***
*** *****
*** *****
*** *****
*** *****
*** *****
*********

(9)

***
***
***
***

(10)

*********
*********
*********
*********
         
*********
*********
*********

(11)

***** ***
***** ***
***** ***
***** ***
***** ***
***** ***
***** ***
***** ***

(12)

*********
*********
*** *****
**** ****
*****  **
******* *
*********
*********

(13)

****
****
****
****
End of Handout