GPYC Return Practice Questions
The free GPYC: GIAC Python Coder questions that deal with return, with answers and explanations. The full bank and the timed practice test cover every topic the exam asks about.
Question #3
If a = "GIAC", what will a[::-1] return?
Correct answer: C
Explanation
The slice [::-1] reverses the string.
Question #7
What will the dir() function return when called without parameters?
Correct answer: A
Explanation
The dir() function without arguments returns the names in the current local scope.
Continue with GPYC: GIAC Python Coder
Unlock the full question bank
You have read the first 10 questions. A subscription opens every question in GPYC: GIAC Python Coder, the full timed practice test, and your progress and weak-topic reporting.
Single exam
$19.99for 30 days
Full question bank and practice test for one exam, for 30 days.
Single exam
$49.99for 1 year
One exam for a full year. Nothing renews and nothing to cancel.
Full access
$39.99/mo
Every exam in the catalogue, month to month.
Full access
$199.99/yr
Every exam in the catalogue for a year.
Already subscribed? Sign in to pick up where you left off.
