There have been multiple accounts created with the sole purpose of posting advertisement posts or replies containing unsolicited advertising.

Accounts which solely post advertisements, or persistently post them may be terminated.

Octopus1348 ,
@Octopus1348@lemy.lol avatar

It’s much more readable when you use else depending on the checks. You can still use return in an else block.

def Allowed()


<span style="color:#323232;">  if name == "Octopus1348": return True
</span><span style="color:#323232;">
</span><span style="color:#323232;">  elif name == "Bobert": return True
</span><span style="color:#323232;">
</span><span style="color:#323232;">  else:
</span><span style="color:#323232;">        return "You are not allowed to use this script."
</span>

print(Allowed())

`

  • All
  • Subscribed
  • Moderated
  • Favorites
  • [email protected]
  • random
  • lifeLocal
  • goranko
  • All magazines