Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
Welcome to Code Forum!
Join a community that supports you and your coding journey from day one. We strive to be a friendly, supportive community that empowers everyone to be better developers. By registering with us, you'll be able to discuss, share and private message with other members of our community.
The Issue is still the same. If you say
5 - it says go lower
then 3 - it says go higher
and finally 4 - it says that the answer is four but you took too long even though it was only 3 guesses.
BTW - Setting guesses to 0 before the while loop gives you 4 guesses for some reason.
I have changed the code a bit:
import turtle
import random
import time
def death():
print("You have lost to one the dungeons scourges and are now in the darklands")
time.sleep(3)
quit()
def dragon():
print()
print("You hear a roar coming from the tunnel behind where...
When I try to create a new flutter project in Android Studio, it says that "The Flutter SDK is incomplete" after I specify the SDK.
The Next button is also greyed out so I can't continue either. I have followed all the instructions on the flutter.dev website and installed the Flutter and...
I have the following code
randomNum = random.randint(1,10)
number = input("To enter the land you must guess my number in 3 guesses or be taken to the darklands:
")
guesses = 1
while guesses != 3:
print()
guesses = guesses + 1
number =...