Hi for some reason i keep getting this error, while trying to compile, im using a code I found in forums, but i seem not to be able to understand why it doesnt compile, what am I missing?. Thanks.

enter image description here

enter image description here

1 Answer 1


That simply is not Solidity. It looks more like Viper to me, the Pythonic brother of Solidity.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.