current work
This commit is contained in:
13
4/cointoss.html
Normal file
13
4/cointoss.html
Normal file
@ -0,0 +1,13 @@
|
||||
<html><body><script>
|
||||
|
||||
let coin = 0
|
||||
coin = Math.random()
|
||||
console.log(coin)
|
||||
if (coin >= .5){
|
||||
console.log("tails")
|
||||
}
|
||||
if (coin < .5){
|
||||
console.log("heads")
|
||||
}
|
||||
|
||||
</script></body></html>
|
Reference in New Issue
Block a user