3. Short-Term Memory


#1

Why can't I multiply the scan vs. typing out each scan?

https://www.codecademy.com/courses/close-the-super-makert/0/3?curriculum_id=506324b3a7dffd00020bf661

'''

cashRegister.scan ("eggs"*2)
cashRegister.scan ("magazine"*3)

'''


#3

what you do there will just multiply the string, you need to modify the scan method then.

you could give the method two parameters: item and quantity for example, you might do this in later exercise


#4

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.