Advertisement
bruh1214

Untitled

Oct 17th, 2021
97
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.42 KB | None | 0 0
  1. def ui_modify_data(l):
  2. processing_functions = [ui_add_package, ui_print_package]
  3. progress = 0
  4. while progress < len(processing_functions):
  5. cmd = input("Reintroduce dates: ")
  6. if cmd == "//":
  7. progress -= 1
  8. print("Go back to previous input")
  9. else:
  10. print("Processing" + cmd)
  11. processing_functions[progress](cmd)
  12. progress += 1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement