Aw: Re: Re: stuck on time

Karsten Hilbert Karsten.Hilbert at gmx.net
Sun Dec 8 05:39:17 EST 2019


> 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


More information about the Python-list mailing list