Cody

Problem 3031. Expression or variable?

Test if arguments of the function are all variables (workspace variables names). Return 1 if yes, 0 if no.

For example :

a=1;

b=2;

c=3;

  • are_variables(a,b) -> 1
  • are_variables(a,b,1) -> 0

Easy ?

Solution Stats

36.36% Correct | 63.64% Incorrect
Last Solution submitted on Mar 14, 2020

Problem Comments

Solution Comments