Question

How many parameters are you passing into the print () function in the following statement?
print("My final is: "+ str(answer))



I would appreciate any help!!
thank you!!

Answers

Random 6th grader...
I don't really no the answer because I am just a 6th grader, BUT do u no the answers to the Lesson 19: Unit Test Language Arts 6 A Unit 2: Characters and Conflict? If you do PLEASE give me them,thanks! :) ._.
Sue
you are passing the string "My final answer is: " and the result from the method str () when the value of answer is passed as an argument
Anonymous
Just wondering how long will it take to answer?
Anonymous
Oh wait they didn't load, I see them THANKS!!
Anonymous
Random 6th Grader, I don't know what the Lesson 19: Unit Test Language Arts 6 A Unit 2: Characters and Conflict, but if you need help I can help you. But I will NOT help you cheat if that's what you are asking.
Anonymous
Sue, It is not 2 it said it was wrong. How did you get that answer? I'm just wondering so if you can tell me maybe I can figure out for myself?
oobleck
2 is in fact wrong.
There is only one parameter -- the string formed by joining
"My final is: " and str(answer)
Anonymous
I found the answer, its 1! Random 6th Grader if you need help on your assignment I will be happy to help, just let me know
oobleck
technically, an argument is passed -- a parameter is part of the function declaration. The print function would be declared as something like

print(string s)

with only one parameter.
the answers
1.B
2.C
3.D

Related Questions