MATH 314 Quiz 04

Given on 2026-09-01

  1. Create a string variable. Then put your first variable into an f-string under the variable name x.

  2. Which of the following print anything at all?

    a.

    if []:
        print("something")
    

    b.

    if [[]]:
       print("something")
    

    c.

    if x:
        print("something")
    

    d.

    if "":
        print("something")