Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Which one is true about the following function? def exam _ function ( a , b , c = cng 1 1 1

Which one is true about the following function?
def exam_function (a,b, c="cng111") :
print (a,b,c)
exam_function(1,2,"cng111 final exam")
a. error! In the function call, strings should be sent to a and b not integers (1,2)
b. error! c cannot be assigned to a string in the parameter list
c. error! c has string "cng111", so we cannot send another string to c in the function call
d. a gets the value of 1,b gets the value of 2. c is overwritten and it gets string "cng111 final exam"
image text in transcribed

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Oracle Database 19c DBA By Examples Installation And Administration

Authors: Ravinder Gupta

1st Edition

B09FC7TQJ6, 979-8469226970

More Books

Students also viewed these Databases questions

Question

c. What were you expected to do when you grew up?

Answered: 1 week ago

Question

4. Describe how cultural values influence communication.

Answered: 1 week ago

Question

3. Identify and describe nine cultural value orientations.

Answered: 1 week ago