reply | R Documentation |
Given guess and actual answer, this function computes a character string of length 5. 't' corresponds to green, 'f' to grey, and 'p' to yellow.
reply(guess, ans)
guess |
character, the guess to check |
chosen |
character, the correct answer |
character
https://stackoverflow.com/a/71326031/216064
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.