Re: [Tutor] Finding the largest gap in tuple between two lists.

2018-11-18 Thread Peter Otten
Mats Wichmann wrote: > 1. From an endpoint pair - say Buy/Levski and Sell/Olisar, you need the > common items. No point in looking further at items that can't both be > bought at the source and sold at the destination. Fortunately, Python > sets are really good at this, but first you have to ext

Re: [Tutor] Finding the largest gap in tuple between two lists.

2018-11-18 Thread Avi Gross
Behalf Of Harry Oneill Sent: Saturday, November 17, 2018 8:55 PM To: tutor@python.org Subject: [Tutor] Finding the largest gap in tuple between two lists. Hello there everyone i hope you are all doing fantastic. Im currently working on a little program that is designed to do a basic function to

Re: [Tutor] Finding the largest gap in tuple between two lists.

2018-11-18 Thread Mats Wichmann
On 11/17/18 6:55 PM, Harry Oneill wrote: > Hello there everyone i hope you are all doing fantastic. > > Im currently working on a little program that is designed to do a basic > function to help me to trade efficiently within the game Star Citizen: > > #1 take two inputs ( location and destinati

[Tutor] Finding the largest gap in tuple between two lists.

2018-11-18 Thread Harry Oneill
Hello there everyone i hope you are all doing fantastic. Im currently working on a little program that is designed to do a basic function to help me to trade efficiently within the game Star Citizen: #1 take two inputs ( location and destination ) #2 Find what product is best to buy at location