Clayton Kirkwood wrote:
> Good eyes on the logic
>
>
> !-Original Message-
> !From: Tutor [mailto:tutor-bounces+crk=godblessthe...@python.org] On
> !Behalf Of Peter Otten
> !Sent: Sunday, October 26, 2014 3:53 AM
> !To: tutor@python.org
> !Subject: Re: [Tut
On 27/10/14 03:17, Clayton Kirkwood wrote:
get_new_list = True
print(values) #[('a', 'Ask'), ('y', 'Dividend Yield')]
while get_new_list:
key_list = input('Please enter space separated keys in the order you
want: ').split()
print(key_list)#['a', 'y']
!-Original Message-
!From: Tutor [mailto:tutor-bounces+crk=godblessthe...@python.org] On
!Behalf Of Alan Gauld
!Sent: Sunday, October 26, 2014 5:34 PM
!To: tutor@python.org
!Subject: Re: [Tutor] if you're interested in the code thus far...
!
!On 26/10/14 22:12, Clayton Kirkwood
On 26/10/14 22:12, Clayton Kirkwood wrote:
!On 25/10/14 23:46, Clayton Kirkwood wrote:
!> __author__ = 'SYSTEM'
!
!You are still setting __author__ which is a bit suspect.
!Leave double underscores to python.
This is something being created when I started with this file.
How are you creating
!-Original Message-
!From: Tutor [mailto:tutor-bounces+crk=godblessthe...@python.org] On
!Behalf Of Alan Gauld
!Sent: Sunday, October 26, 2014 2:11 AM
!To: tutor@python.org
!Subject: Re: [Tutor] if you're interested in the code thus far...
!
!On 25/10/14 23:46, Clayton Kirkwood
Good eyes on the logic
!-Original Message-
!From: Tutor [mailto:tutor-bounces+crk=godblessthe...@python.org] On
!Behalf Of Peter Otten
!Sent: Sunday, October 26, 2014 3:53 AM
!To: tutor@python.org
!Subject: Re: [Tutor] if you're interested in the code thus far...
!
!Clayton Kir
Clayton Kirkwood wrote:
> for description_position, code_position in zip(description, code):
> description_position_len = len(description_position)
> current_output_pos += description_position_len
> if current_output_pos >= output_line_len:
> print(description_output_string)
>
On 25/10/14 23:46, Clayton Kirkwood wrote:
__author__ = 'SYSTEM'
You are still setting __author__ which is a bit suspect.
Leave double underscores to python.
import string
You are still importing string twice, and you don't use it anywhere
that I can see.
#PricingDividends