fix(formatting): Minor changes in 24 Game challenge

This commit is contained in:
The Coding Aviator
2019-02-28 11:54:26 +05:30
committed by Kristofer Koishigawa
parent f8061bcb56
commit 084ba9c782

View File

@ -6,9 +6,9 @@ challengeType: 5
## Description ## Description
<section id='description'> <section id='description'>
<p>Implement a function that takes a string of four digits as its argument, with each digit from 1 to 9 (inclusive) with repetitions allowed, and returns an arithmetic expression that evaluates to the number 24. If no such solution exists, return "no solution exists."</p> Implement a function that takes a string of four digits as its argument, with each digit from 1 to 9 (inclusive) with repetitions allowed, and returns an arithmetic expression that evaluates to the number 24. If no such solution exists, return "no solution exists".
### Rules: <h4><strong>Rules:</strong></h4>
<ul> <ul>
<li> Only the following operators/functions are allowed: multiplication, division, addition, subtraction. </li> <li> Only the following operators/functions are allowed: multiplication, division, addition, subtraction. </li>
<li> Division should use floating point or rational arithmetic, etc, to preserve remainders. </li> <li> Division should use floating point or rational arithmetic, etc, to preserve remainders. </li>