Swap two values using a helper value.
Changing valuesBeginner
Built from 3 kinds of block, between Start and End. Each one has a guide.
B4Coder writes the same program as real code. Change the flowchart in the editor and the code changes with it.
a = 5b = 9print("Before: a = " + str(a) + ", b = " + str(b))temp = aa = bb = tempprint("After: a = " + str(a) + ", b = " + str(b))How each block becomes code: Python · Java · C++ · C# · JavaScript