[Tutor] Help

2017-02-10 Thread Sasiliyu Adetunji
Please assist with this assignment Write a function my_sort which takes in a list of numbers (positive integers). The function should return a list of sorted numbers such that odd numbers come first and even numbers come last. Regards ___ Tutor mailli

[Tutor] Help on this assignment

2017-02-09 Thread Sasiliyu Adetunji
Please can you assist me in this assignment Write a function called remove_duplicates which will take one argument called string. This string input will only have characters between a-z. The function should remove all repeated characters in the string and return a tuple with two values: A new s

[Tutor] Help on shoppingcart

2017-02-08 Thread Sasiliyu Adetunji
Hi, Pls help me on this shoppingcart assignment Create a class called ShoppingCart Create a constructor that takes no arguments and sets the total attribute to zero, and initializes an empty dict attribute named items. Create a method add_item that requires item_name, quantity and price argume

[Tutor] Help with this work

2017-02-07 Thread Sasiliyu Adetunji
Hi, I have been working on yhis assignment Create a class called ShoppingCart Create a constructor that takes no arguments and sets the total attribute to zero, and initializes an empty dict attribute named items. Create a method add_item that requires item_name, quantity and price arguments. Th