+ 7

Predict next Random [Challenge]

Hey, You obviously cant predict a random number but make it look like you have 😀 (Numbers must be randomly generated) Not so difficult but handy to know how. example: 1 -> The next number is the same 1 2 3 - > The next number is the same 3 - > The next number is the same 3 2 1 - > The next number is the same 1 4 Thanks 😊

4th Apr 2018, 10:49 AM
D_Stark
D_Stark - avatar
4 Antworten
+ 4
its pretty easy to tell how i cheesed this but here you go anyways https://code.sololearn.com/chHZ5Ht4MHZ7/?ref=app https://code.sololearn.com/wAdLqCraMWaC/?ref=app
4th Apr 2018, 12:20 PM
hinanawi
hinanawi - avatar
+ 5
Great work guys heres my solution https://code.sololearn.com/c8FUDHY8hKDg/?ref=app
4th Apr 2018, 3:23 PM
D_Stark
D_Stark - avatar
+ 4
https://code.sololearn.com/W5z3Sgdd48Pi/?ref=app
4th Apr 2018, 1:06 PM
777
777 - avatar
+ 2
Blue your code returns an error, is it just me? i suggest you take a look at it
4th Apr 2018, 1:08 PM
hinanawi
hinanawi - avatar