Re:Teaching our five year old to code by cheating
by samwhiteUK on Wednesday October 07, 2020 @05:36AM
(#24706590)
Yeah, question 1 it gave me was "What is 0+1?" and then it told me that 1 was the right answer, when that's what I typed. A few questions later and I thought "hmmm... something is up here"
Re:Teaching our five year old to code by cheating
by stadt on Wednesday October 07, 2020 @06:01AM
(#24706729)
As the random lulu and boonie are already integers you only need to edit line 9:
guess = int(input(question))
Re:Teaching our five year old to code by cheating
by th3sly on Wednesday October 07, 2020 @07:18AM
(#24707116)
guess = int(input(question))
Re:Teaching our five year old to code by cheating
by yonixw on Wednesday October 07, 2020 @09:30AM
(#24707954)
mine was:
`if guess == str(lulu + boonie):`
Re:Teaching our five year old to code by cheating
by gregorymichael on Wednesday October 07, 2020 @12:38PM
(#24709970)
:)
There ... I fixed it.