Skip to content

Commit

Permalink
correcting the answer UCL-RITS#141
Browse files Browse the repository at this point in the history
  • Loading branch information
umitozmen committed Nov 26, 2020
1 parent 4129a5d commit 8d2e75e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions week06/average-squares-example/average_squares/squares.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,8 @@ def convert_numbers(list_of_strings):
if __name__ == "__main__":

parser = ArgumentParser(description="Generate average of squares")
parser.add_argument('numbers' , type=int, nargs= '+' help="the list of numbers")
parser.add_argument('--weights', '-w' , type=int, nargs= '+' help="the list of weights")
parser.add_argument('numbers' , type=int, nargs= '+', help="the list of numbers")
parser.add_argument('--weights', '-w' , type=int, nargs= '+', help="the list of weights")
arguments = parser.parse_args()

numbers = arguments.numbers
Expand Down

0 comments on commit 8d2e75e

Please sign in to comment.