SME
Engineering Programming (MATLAB/Python) · Problem type
MATLAB, Python or both
Use this for “Which language is A(end-1:end) written in, and which could run x = 5?”
Sort
Which language could run this line?
Tap a card, then tap its group.
Look at the brackets, the comment mark and how a block ends.
Assumptions
•
MATLAB counts from 1 with ( ); Python counts from 0 with [ ].
•
MATLAB comments start with %, Python comments with #; MATLAB closes a block with end.
Topic check
See what you know: 5 questions on this topic
New questions each time. Pass to mark it complete.