Re: Aw: Re: Re: stuck on time

2019-12-08 Thread RobH
On 08/12/2019 10:39, Karsten Hilbert wrote: In an interactive interpreter: def print_time(): current_time = time.strftime("%I:%M") returns nothing. That should be correct. What happens if you then do print_time() inside the interpreter ? Karsten print_time() on it's own return

Aw: Re: Re: stuck on time

2019-12-08 Thread Karsten Hilbert
> In an interactive interpreter: > > def print_time(): > current_time = time.strftime("%I:%M") > > returns nothing. That should be correct. What happens if you then do print_time() inside the interpreter ? Karsten -- https://mail.python.org/mailman/listinfo/python-list