So i'm trying to figure out why this code wont run can anyone me
import sys
i...
Computers and Technology, 30.10.2019 06:31 leasiamoore
So i'm trying to figure out why this code wont run can anyone me
import sys
import random
ans = true
while ans:
questions = raw_input("type a question here (press enter to quit)")
answers = random. randint(1,2)
if questions == "":
sys. exit()
eilf answers == 1:
print "yes"
continue
eilf answers == 2:
print "no"
i have indented it as well
Answers: 2
Computers and Technology, 23.06.2019 17:00, Alexaisokay1
In which of the following ways can using test-taking tips you? a. you can focus on the information that you need to study. b. you will see the answers to the test. c. you will study more. d. you will be less organized.
Answers: 1
Computers and Technology, 23.06.2019 18:50, annieleblanc2004
Ais a picture icon that is a direct link to a file or folder
Answers: 1
Computers and Technology, 23.06.2019 23:40, lexiecooley
4. what is the reason for including the following code snippet in the header file animal. h? #ifndef animal_h #define animal_h class animal { public: animal(); animal(double new_area_hunt); void birth(); void hunt(double new_area_hunt); void death(); double get_area_hunt() const; private: double area_hunt; }; #endif
Answers: 3
English, 29.04.2021 23:50
Arts, 29.04.2021 23:50
Mathematics, 29.04.2021 23:50
Biology, 29.04.2021 23:50
Mathematics, 29.04.2021 23:50