+ 4

Can someone help me establish whether i did the code right. I am a beginner

https://code.sololearn.com/cHmnKM3I3h4D/?ref=app

21st Jul 2019, 12:20 AM
Sir Mazunze
Sir Mazunze - avatar
4 ответов
+ 3
It works, but I suggest to just basically refactor - roll is used 4 times, better use custom method: https://code.sololearn.com/c4Ym1hB5Urew/?ref=app
21st Jul 2019, 8:24 AM
geproha
geproha - avatar
+ 2
Hi. i checked your code. it Ran so it’s fine. Congrats 😉
21st Jul 2019, 1:07 AM
Joan Janku
Joan Janku - avatar
+ 1
Nice sir👍 it workd
21st Jul 2019, 2:26 AM
Dwi Novianto Nugroho
Dwi Novianto Nugroho - avatar
+ 1
Well done. Your code is not crap!
22nd Jul 2019, 1:46 AM
Sonic
Sonic - avatar