Python for Everyone Esri GIS Questions
and Answers 2024/2025
When working in ArcGIS Pro, you must import ArcPy to use functions from the ArcPy site
package.
false
In the syntax for a function, what follows the name of the function?
One or more function parameters enclosed in parentheses
Running the following script returns an error before it begins to execute. Which answer best
describes the reason for the error?
import arcpy f
c = r"C:/Data/Roads arcpy.Buffer_analysis (fc, fc + "_buff", "
The path for fc requires a closing quotation mark.
Running the following script returns an error after it executes but before it prints any of the
items in dataList. Which answer best describes the reason for the error?
dataList = ("Zoning", "Sewers", "Parcels") for data in datList:
print (data)
datList is misspelled in the second line; it should be dataList.
Which option best describes the purpose of the import math statement in the following code?
import math
sqRt = math.sqrt(64)
1|Page| GradeA+ | 2 0 0 2 5