반응형 string1 Gerund 판단 함수만들기 # Make a function gerund_infinitive that, given a string ending in "ing", # returns the rest of the string prefixed with "to ". If the string# doesn't end in "ing", return "That's not a gerund!"## >>>> gerund_infinitive("building")# to build# >>>> gerund_infinitive("build")# That's not a gerund! def gerund_infinitive(string): # Add code here that returns the answer stringLength = len(string) isG.. 2018. 8. 20. 이전 1 다음 반응형