Hello world!

So happy for Python 3.10

def fizzbuzz(n):
    match n%3, n%5:
        case (0,0):
            return 'fizzbuzz'
        case (0,_):
            return 'fizz'
        case (_,0):
            return 'buzz'
        case (_,_):
            return n
Print Friendly, PDF & Email

One thought on “Hello world!”

  1. Hi, this is a comment.
    To get started with moderating, editing, and deleting comments, please visit the Comments screen in the dashboard.
    Commenter avatars come from Gravatar.

Leave a Reply

Your email address will not be published.