Printing
Printing 2
Coding Things
Coding Things 2
Coding Things 3
300

(not a print option) if you type "hello" in the option, what happens?

Makes "NameError"

300

a=3/2. "print(a)"=?

Prints "1.5" (not 3/2)

300

a="bark". while True: "print(a.upper())"=?

Prints "BARK"

300

(ignore "numpy" part) "while True: val=np.random.randint(1,10,10). plt.show()"=?

Show plt (val from random places)

300

Cant add more due to long words.

Go another

600

What if you type "print()" what does it do?

Prints "_" (Prints Nothing at all)

600

b="string". "print(b)"=?

Prints "string"

600

a="nice". "while not a.isprintalbe(): print(a.upper()). else: print(a)"=?

Prints "NICE"

600

"plt.plot(range(20), color=('green'). plt.show()"=?

Show plt (green line)

900

What will "Print("hi")" do?

Prints "hi"

900

b="string". "print(b+"ing")"=?

Prints "stringing"

900

"bomb=['BANG','BOOM','BAM']. (print*bomb)"=?

Prints "*bomb" (inside "BANG", "BOOM", "BAM")

900

"plt.title(label='TITLE', fontsize=20, rotation=90, loc='right') plt.show"=?

Shows plt ("TITLE" 20 size, 90 degree, & loc right)

1200

"a=1. print(a)"=?

Prints "1"

1200

a=3+2, b="string". "print(b+a)"=?

TypeError

1200

"import turtle. t=turtle.Turtle(). t.forward(400)"=?

Imports turtle (at a 400 degree angle)

1200

"x=np.orange(0,30,0.1), y=np.cos(x). plt.plot(x, y). plt.show()"=?

Show plt (orange swingle line)

1500

a=3+2, b="string". "print(b+str(a))"=?

Prints "string5"

1500

a=3+2, b+"string". "print(len(b+str(a)))"=?

Prints "7" (what)

1500

"import turtle. t+turtle.Turtle(). t.speed('fast'). t.left(135), t.forwards(1280)"=?

Imports turtle (fast, left(135 degree), & forwards(1280 degree)

1500

Cant add this :(

Go another one

M
e
n
u