$ ./guess_the_languageProblem Solving — fill the blank
Problem Solving — fill the blank · easy · #168

Complete the function

# does the file end in .csv?
ok = path.____(".csv")

Answer: endswith (also accepted: endswith, endswith())

endswith() tests a suffix and returns a boolean.
Play Problem Solving ▸