which statements are true about Python functions?
a)Different functions cannot use same function name
b)a function always returns some value
c)different function cannot use the same variable names
d) function must use the same parameter names as thecorresponding variables in the caller
what benefits does structuring a program through definingfunctions bring?
a) there is a possibility of reducing the number of variablesand/or objects that must be managed at any cost at any onepoint
b)the program is easier to maintain
c)program with function executes faster
d)the program is easier to debug
in which scenario(s) should the sentinel value be set to -1 toterminate data entry
a)exam scores which can be negative but cannot be more than100
b) participant name of participants who registered for a run
c)the rainfall data for days it rained
d)the weight of student waiting to undergo a medicalexamination.
suppose d = {\"a\": \"apple\", \"b\": \"banana\", \"c\": \"cherry\"}
which statement form a list [[\"a\": \"apple\"], [\"b\": \"banana\"[,[\"c\": \"cherry\"]]
a) [[k,d[k]] for k in d.keys() ]
b) [[k,v] for k, v in d.items() ]
c) [[d,v] for v in d.values() ]
d) [[k,[0]], k[1]] for k in d]