A. lambda(x,y) = x//y - x%y ------ > SyntaxError: Lambda expression parameters cannot be parenthesized
B. lambda x,y: return x//y - x%y ----> Lambda function not returning the values.
So C & D is the correct expression.
C. lambda x,y: (x,y)
D. lambda x,y: x//y - x%y
A voting comment increases the vote count for the chosen answer by one.
Upvoting a comment with a selected answer will also increase the vote count towards that answer by one.
So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.
jarun2024
2 months, 3 weeks agoDave304409
4 months agoDKAT2023
4 months, 2 weeks ago