majid-darvishfard / python-learning

sample code for learning python
0 stars 0 forks source link

creative minded #7

Closed ghost closed 5 years ago

ghost commented 5 years ago

Congratulation, you passed two challenges in a day.

2

You are so good. Keep going

Here we have some new challenges:

Tips:

  1. You can define items globally at the first line of your program. The benefit is that you don't need to send an argument like items into your functions.

  2. If I enter a number, in the other words you have to accept just alphabet and ignore any number when the user is answering to your program.

  3. How do you manage if the user says how much milk he/she wants?

  4. You need to show the list within a for the loop. Not just showing the list. it is not user-friendly.

1

append_list --> add_item edit --> edit_item

majid-darvishfard commented 5 years ago