Which of the following are the names of Python passing argument styles?
(Choose two answers.)
Suggested Answer: A, D
Get Premium PCEP-30-02 Questions
as Interactive Web-Based Practice Test or PDF
Real Exam Format
Detailed Explanations
Instant Access
Get Your Practice Test
26 comments · newest first
TE
Teddy
4 months ago
True, but they’re not passing styles. Just a feature.
SH
Shawnna
5 months ago
What about default arguments? They’re important too!
CA
Carmen
5 months ago
Yeah, those are the main ones!
AD
Adelina
5 months ago
I think it's positional and keyword arguments.
NO
Noel
7 months ago
Yeah, but they fall under those categories, right?
JU
Justine
7 months ago
I thought there was also *args and **kwargs?
CA
Candida
7 months ago
Wait, are there more styles?
AV
Avery
7 months ago
Totally agree, those are the main ones.
KR
Kris
7 months ago
Positional and keyword arguments!
TA
Tamesha
7 months ago
Ah, the age-old question of how to properly deliver arguments to a Python function. Truly a mystery for the ages.
CA
Carlene
8 months ago
Wait, are we supposed to know the official names for this? I just wing it and hope for the best.
MI
Mireya
8 months ago
Hmm, I thought it was "shove" and "toss" - my bad.
ST
Stevie
8 months ago
I thought it was just "call" and "return", but I guess there's more to it.
JE
Jennie
8 months ago
By pass, you mean like throwing the argument at the function, right?
RI
Rickie
8 months ago
I feel like there are four main styles, but I can't recall all their names right now. I hope I can remember them during the exam!
ME
Melodie
8 months ago
I practiced a question like this before, and I think there was also something called default arguments. Could that be one of the options?
SA
Sabine
9 months ago
I remember something about keyword arguments being a style too. Maybe that's one of the answers?
LI
Lisbeth
9 months ago
I think one of the styles is definitely positional arguments, but I'm not sure about the second one.
BE
Bernardo
10 months ago
Positional arguments and keyword arguments, got it. I feel pretty good about this question - those are the two main ways to pass arguments in Python that I'm familiar with.
GO
Goldie
10 months ago
I've got this! The two main argument passing styles in Python are positional arguments and keyword arguments. I'm confident those are the correct answers.
GA
Gail
10 months ago
I'm a bit unsure about this one. I know there are different argument passing styles in Python, but I can't recall the specific names off the top of my head. I'll have to think it through step-by-step.
RO
Rosita
10 months ago
Okay, let's see. I know there are a few different ways to pass arguments in Python, like positional arguments and keyword arguments. I'll try to remember the other ones.
CA
Carlota
10 months ago
Hmm, I think this is asking about the different ways you can pass arguments in Python. I'll need to think through the options carefully.
MA
Matthew
4 months ago
Don't forget about default arguments too!
BE
Bette
4 months ago
Yeah, those are the main ones!
YO
Youlanda
4 months ago
I believe it's positional and keyword arguments.