isds2020 icon indicating copy to clipboard operation
isds2020 copied to clipboard

problem 0.2.2

Open Hajer27 opened this issue 5 years ago • 1 comments
trafficstars

Hi. I'm having trouble with problem 0.2.2 - can't seem to do the coding right. (have no prior coding experience)

I get a total different result than what's written: 0.1118330252570664

Hope a kind soul can help me out, as I'm panicking with the exercises!

Hajer27 avatar Aug 05 '20 21:08 Hajer27

Hi @Hajer27, don't panick, you can always turn off your computer and take a break :) With that said, what does your code look like? The exercise asks you to write an if/else block with the condition as given in the instruction to the exercise. Depending on what value your random number between 0 and 1 takes your code should either return 0 or 1.

jsr-p avatar Aug 06 '20 07:08 jsr-p