Ask coding questions

← Back to all posts
A question about functions
Tristan_School (0)

Is there a string of code that lets you end a function without doing anything else? This is for Python 3.

Answered by theangryepicbanana (834) [earned 5 cycles]
View Answer
Commentshotnewtop
theangryepicbanana (834)
def does_nothing(): pass
Tristan_School (0)

@theangryepicbanana No I mean if there's already code but thanks anyways