Discussion
Loading...

Post

Log in
  • About
  • Code of conduct
  • Privacy
  • Users
  • Instances
  • About Bonfire
floyd aka floyd_ch
floyd aka floyd_ch
@floyd@chaos.social  ·  activity timestamp 2 days ago

Ok I hope you are sitting, take a deep breath, this will probably blow your mind...

In the newest #python it seems you can use "exit" to exit the interactive interpreter instead of "exit()". I noticed it by accident.

So exit is now also a statement rather than only a function.

When do we get a "print" statement instead of a function?!?

  • Copy link
  • Flag this post
  • Block

Kakapo Social

Kakapo Social: About · Code of conduct · Privacy · Users · Instances
Bonfire social · 1.0.2-alpha.34 no JS en
Automatic federation enabled
Log in
Instance logo
  • Explore
  • About
  • Members
  • Code of Conduct