LeetQuiz Logo
Privacy Policy•contact@leetquiz.com
© 2025 LeetQuiz All rights reserved.
Databricks Certified Data Engineer - Associate

Databricks Certified Data Engineer - Associate

Get started today

Ultimate access to all questions.


What will be the output of the following Python function when called with my_func(1, 2)?

def my_func(x, y=1):
    if x < y:
        x = 2 * x
    if x == y:
        x += 1
        y -= 2
    return (x, y)

Real Exam




Powered ByGPT-5