Skip to main content
deleted 21 characters in body
Source Link
ZaMoC
  • 24.9k
  • 2
  • 30
  • 81

Wolfram Language (Mathematica), 4035 bytes

If[FromRomanNumeral@#<3999,TCheck[FromRomanNumeral@#<3999,F]~Check~F&1<0]&

Try it online!Try it online!

returnsT for truthy and F for falsey5 bytes saved, thanks to @attinat

the limitation [1,3999] unfortunateley costs 127 bytes...
here is the code for any roman number

Wolfram Language (Mathematica), 28 bytes

Check[FromRomanNumeral@#,F]&

Try it online!

the above code works for any number, not just [1,3999]

Wolfram Language (Mathematica), 40 bytes

If[FromRomanNumeral@#<3999,T,F]~Check~F&

Try it online!

returnsT for truthy and F for falsey

the limitation [1,3999] unfortunateley costs 12 bytes...
here is the code for any roman number

Wolfram Language (Mathematica), 28 bytes

Check[FromRomanNumeral@#,F]&

Try it online!

the above code works for any number, not just [1,3999]

Wolfram Language (Mathematica), 35 bytes

Check[FromRomanNumeral@#<3999,1<0]&

Try it online!

5 bytes saved, thanks to @attinat

the limitation [1,3999] unfortunateley costs 7 bytes...
here is the code for any roman number

Wolfram Language (Mathematica), 28 bytes

Check[FromRomanNumeral@#,F]&

Try it online!

the above code works for any number, not just [1,3999]

added 322 characters in body
Source Link
ZaMoC
  • 24.9k
  • 2
  • 30
  • 81

Wolfram Language (Mathematica), 4440 bytes

If[(s=FromRomanNumeral@#)<3999If[FromRomanNumeral@#<3999,sT,F]~Check~F&

Try it online!Try it online!

returns the valueT for truthy and F for falsey

the limitation [1,3999] unfortunateley costs 1612 bytes...
here is the code for any roman number

Wolfram Language (Mathematica), 28 bytes

Check[FromRomanNumeral@#,F]&

Try it online!

the above code works for any number, not just [1,3999]

Wolfram Language (Mathematica), 44 bytes

If[(s=FromRomanNumeral@#)<3999,s,F]~Check~F&

Try it online!

returns the value for truthy and F for falsey

the limitation [1,3999] unfortunateley costs 16 bytes...
here is the code for any roman number

Wolfram Language (Mathematica), 28 bytes

Check[FromRomanNumeral@#,F]&

Try it online!

the above code works for any number, not just [1,3999]

Wolfram Language (Mathematica), 40 bytes

If[FromRomanNumeral@#<3999,T,F]~Check~F&

Try it online!

returnsT for truthy and F for falsey

the limitation [1,3999] unfortunateley costs 12 bytes...
here is the code for any roman number

Wolfram Language (Mathematica), 28 bytes

Check[FromRomanNumeral@#,F]&

Try it online!

the above code works for any number, not just [1,3999]

added 109 characters in body
Source Link
ZaMoC
  • 24.9k
  • 2
  • 30
  • 81

Wolfram Language (Mathematica), 44 bytes

If[(s=FromRomanNumeral@#)<3999,s,F]~Check~F&

Try it online!

returns the value for truthy and F for falsey

the limitation [1,3999] unfortunateley costs 16 bytes...
here is the code for any roman number

Wolfram Language (Mathematica), 28 bytes

Check[FromRomanNumeral@#,F]&

Try it online!

the above code works for any number, not just [1,3999]

Wolfram Language (Mathematica), 44 bytes

If[(s=FromRomanNumeral@#)<3999,s,F]~Check~F&

Try it online!

returns the value for truthy and F for falsey

Wolfram Language (Mathematica), 28 bytes

Check[FromRomanNumeral@#,F]&

Try it online!

the above code works for any number, not just [1,3999]

Wolfram Language (Mathematica), 44 bytes

If[(s=FromRomanNumeral@#)<3999,s,F]~Check~F&

Try it online!

returns the value for truthy and F for falsey

the limitation [1,3999] unfortunateley costs 16 bytes...
here is the code for any roman number

Wolfram Language (Mathematica), 28 bytes

Check[FromRomanNumeral@#,F]&

Try it online!

the above code works for any number, not just [1,3999]

added 537 characters in body
Source Link
ZaMoC
  • 24.9k
  • 2
  • 30
  • 81
Loading
added 45 characters in body
Source Link
ZaMoC
  • 24.9k
  • 2
  • 30
  • 81
Loading
Source Link
ZaMoC
  • 24.9k
  • 2
  • 30
  • 81
Loading