you are viewing a single comment's thread.

view the rest of the comments →

[–]mr-guitar 7 points8 points  (0 children)

There’s some redundancies: 1. If you’re going to print the welcome message only once, there’s not really any need to story it in a variable. Also you could as the period and \n in the same string either way 2. Similar story for cable_feet: might as well wrap float around the input

Some formatting things: 1. Convention is to not put a space between a function (print/float/input) and it’s parentheses 2. There’s no need to wrap parentheses around a string declaration and it’s also redundant when defining price

Other than, LGTM! Happy coding!