Home / CSE MCQs / Python MCQs :: Discussion

Discussion :: Python MCQs

  1. Which of the following is an invalid statement?
  2. A.
    abc = 1,000,000
    B.
    a b c = 1000 2000 3000
    C.
    a,b,c = 1000, 2000, 3000
    D.
    a_b_c = 1,000,000

    View Answer

    Workspace

    Answer : Option B

    Explanation :

    Spaces are not allowed in variable names.


Be The First To Comment