cu-mkp / 2017-workshop-edition

Other
0 stars 3 forks source link

Number of Results #15

Closed charlottenahley124 closed 7 years ago

charlottenahley124 commented 7 years ago

After searching the number of results found displays, but not the right number. Sometimes there is a number that comes up, but no results.

charlottenahley124 commented 7 years ago

We created a new variable (resultnumber) that equals 0. In each section of the search code (Translate, transcribe, etc) we added a line saying if this piece of code is used add one to the resultnumber variable each time. Then, we added a line of code saying that if the results did not equal 0 print out Found + the resultnumber + results.