r/PythonLearning • • 18d ago

Python Quiz of the Day.

x = 5

print((x := x + 3) * (x := x - 2))

What will be the output?

A) 24
B) 36
C) 48
D) 30

0 Upvotes

10 comments sorted by

View all comments

1

u/osamas_den 13d ago

The "python" is no longer dynamic