On Fri, Mar 20, 2020 at 1:04 AM Souvik Dutta <souvik.vik...@gmail.com> wrote:
>
> I should have been more clear
> class first():
>     print("from first")
>     def second():
>         print("from second")
> first()
>
> When I run the above code the output is
> "from first"
> (2ND CODE)
>

Try this *without* the call to first() in it. See how that changes
your expectations.

ChrisA
-- 
https://mail.python.org/mailman/listinfo/python-list

Reply via email to