Complicated Helper Functions

jonopriestley
Community Member

Hi! For my course we often ask questions that can be a little complicated for the simple helper functions available. Recently we had students convert numbers into binary and the function we wrote for that was hundreds of charcters long for a simple 8 digit binary number. Some other questions we hope to write currently seem a little difficult for the helper functions to create, such as questions with complicated if/else logic. One I found surprising is that I couldn't find a way to do modular arithmetic with the helper functons. My main question is really just asking if it's possible to be able to do these more complicated things/if canvas is one day looking at implementing a way to write more complex code to act as the formula that does the marking rather than simple trig, logs, etc. But my second side question is how do you do modular arithmetic with the helper functions?

Labels (2)
0 Likes