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

2026

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

Answer: C. from sin, cos import math

  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 364 students.

Show answer & explanation

Correct answer: C

Explore the full course: Rssb Senior Computer Instructor

Loading lesson…