Skip to main content
2 votes
Accepted

PSET6 2016 Analyzer.py - Says all is neutral

In analyze, shouldn't you use self.positives, and not open the files again? Now to the real problems: .lstrip(" ") does not remove the line break at the end of the line, you could use .strip() ...
Blauelf's user avatar
  • 21k
1 vote

Returning to cs50 2017

That can be solved by restarting the IDE. In the menu CS50 IDE > Restart
curiouskiwi's user avatar
  • 18.7k
1 vote

Where to start in addMarker() function?

Observe the function signature: function addMarker(place). place is received as an argument. addMarker is called in a loop from the update function. You only need to add a marker for the place ...
DinoCoderSaurus's user avatar
1 vote
Accepted

Pset6 - Greedy to python - while loop not restarting && float issues

while True: print ("Enter dollar amount: ", end="") change = cs50.get_float() if change < 0: print ("Invalid!") break break Your main idea ...
SuperNovaCoder's user avatar

Only top scored, non community-wiki answers of a minimum length are eligible