Advertisements
Advertisements
Question
While defining a function which of the following symbol is used.
Options
; (semicolon)
. (dot)
: (colon)
$ (dollar)
MCQ
Advertisements
Solution
: (colon)
shaalaa.com
Introduction to Python Functions
Is there an error in this question or solution?
APPEARS IN
RELATED QUESTIONS
A named block of code that is designed to do one specific job is called ______
Pick the correct one to execute the given statement successfully.
if ______ : print(x, " is a leap year")
What is a function?
Write the different types of functions.
How to set the limit for recursive function? Give an example.
Differentiate ceil() and floor() function?
Write a Python code to check whether a given year is a leap year or not.
What are the points to be noted while defining a function?
Explain the following built-in function.
chr()
Explain the following built-in function.
type()
