Which out of the following is incorrect syntax for importing a module of Python?

PYQ KVS TGT/PGT 2026

Which out of the following is incorrect syntax for importing a module of Python?

  1. A.

    import math

  2. B.

    from math import sin, cos

  3. C.

    from sin, cos import math

  4. D.

    import math as mt

Attempted by 643 students.

Sign up free to check your answer

Sign up free

Explore the full course: Kvs Nvs Tier 2 Computer Science

Loading lesson…