[Tutor] print issue

Cameron Simpson cs at cskk.id.au
Thu Oct 3 19:56:01 EDT 2019


On 04Oct2019 00:12, Alan Gauld <alan.gauld at yahoo.co.uk> wrote:
>On 03/10/2019 22:02, ose micah wrote:
>> for ip in cloudfront_ips_more_edge: print(str(ip))
>
>I suspect ip is already a string so you shouldn't need the str() 
>conversion.

Not to mention that print() calls str() on its arguments anyway.

Cheers,
Cameron Simpson <cs at cskk.id.au>


More information about the Tutor mailing list