98-381 Exam QuestionsBrowse all questions from this exam

98-381 Exam - Question 40


HOTSPOT -

You create a function to calculate the power of a number by using Python.

You need to ensure that the function is documented with comments.

You create the following code. Line numbers are included for reference only.

Exam 98-381 Question 40

For each of the following statements, select Yes if the statement is true. Otherwise, select No.

Hot Area:

Exam 98-381 Question 40
Show Answer
Correct Answer:
Exam 98-381 Question 40

References:

http://www.pythonforbeginners.com/comments/comments-in-python https://www.w3resource.com/python/python-string.php

Discussion

4 comments
Sign in to comment
Nalya
Mar 28, 2021

It's correct

gangstfear
Aug 18, 2021

This question is having one more part, if the comment on line 7 is going to be an inline comment

Shw7
Jul 13, 2021

Its correct

sudarchary
Oct 10, 2021

Yes,No,Yes. I tested