import os #Problem 1 def trim_sum(nums, limit): """nums is a numerical list, limit is a number returns the sum of all elements in nums that are <= limit""" pass #Problem 2 def sort_letters_backward(word): """word is a lower-case string returns a string with the letters in word sorted in reverse alphabetical order example: sort_letters_backward("hammer) -> "rmmhea" """ pass #Problem 3 def have_same_letters(word1, word2): """word1 and word2 are strings. returns True if word1 and word2 contain exactly the same letters. example have_same_letter("called", "laced") -> True """ #Problem 4 def ordered_list(items): """items is a list of strings. returns a string with an HTML ordered list. example: ordered_list("cows", "horses", "pigs") ->
  1. cows
  2. horses
  3. pigs
You can use a triple-quoted string or whack-ns to achieve the newline effect""" #Problem 5 def get_info(file_name): """file_name is a string returns the string "(file_name) is a directory." if file_name is a directory returns the string "(file_name) is a heffalump." if the file does not exist. returns the string "(file_name) contains (size) bytes" otherwise """ pass #Problem 6 def sumFrom(nums, goal): """nums is a numerical list goal is a number returns a sublist of nums whose sum is goal if it exists and None otherwise. NB: this question can be done with a recursive solution in a few lines""" pass ## Don't be bashful. Showing test code can give partial ## credit on a question. And it an reassure you things are working.