SyntaxFix
Write A Post
Hire A Developer
Questions
pseudo-code:
int magic(list nums) { int tot = 0 while (!nums.isEmpty()) { int digit = nums.takeFirst() tot *= 10 tot += digit } return tot }