Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Is this good style?
#4
In python 3 it is a function call, therefore an expression, and as such it is also a statement (an expression statement).

I tend not to include calls to input() in complex expressions, but apart from this, it is good python style.
Reply


Messages In This Thread
Is this good style? - by league55 - Jan-14-2018, 03:36 PM
RE: Is this good style? - by wavic - Jan-14-2018, 04:03 PM
RE: Is this good style? - by metulburr - Jan-14-2018, 04:05 PM
RE: Is this good style? - by Gribouillis - Jan-14-2018, 04:25 PM

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020