Quick actions

cmd+k|ctrl+k

Navigation

Languages

1. Arithmetic Product and Conditional Logic

Snippet info

Language

Python

Visibility

public

Author

stacey

Created

2026-05-20T16:16:34.759779Z

Updated

2026-05-20T16:16:34.759779Z

def number_one(x,y):
    if x * y <= 1000:
        return x * y
    else:
        return x + y
        
print(number_one(333,2))
INFO