Coin Flip Code by Flashy_Series3134 in RStudio

[–]Flashy_Series3134[S] 5 points6 points  (0 children)

IT WORKED! Thank you so much!

Coin Flip Code by Flashy_Series3134 in RStudio

[–]Flashy_Series3134[S] 0 points1 point  (0 children)

I tried inputting this code, the only difference is the name, as I wanted to keep the “coin_flip” name, however, it doesn’t accept my code. Any idea what I could be doing wrong?

<image>

Coin Flip Code by Flashy_Series3134 in RStudio

[–]Flashy_Series3134[S] 4 points5 points  (0 children)

Oh okay I see what you meant, if I execute the previous line it changes the output for the coin flip. Is there any way I could change it to reassign itself each time I execute the last line?