subject

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

ansver
Answers: 2

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 16:30
Which of the following statements best describes it careers?
Answers: 2
question
Computers and Technology, 23.06.2019 02:30
What is the power dissipated by a resistor with a current of 0.02 a and a resistance of 1,000 ? a. 200 w b. 20 w c. 0.4 w d. 4 w
Answers: 1
question
Computers and Technology, 23.06.2019 14:30
Select the correct answer. which step can possibly increase the severity of an incident? a. separating sensitive data from non-sensitive data b. immediately spreading the news about the incident response plan c. installing new hard disks d. increasing access controls
Answers: 2
question
Computers and Technology, 24.06.2019 04:30
The ieee 802.11: defines standards for wireless local area network (wlan) communication protocols. identifies various computers or devices connected to a network. verifies any resource attached to another computer on a network that is different from the computer to which the user is logged on. connects multiple local area networks (lans) and wide area networks (wans).
Answers: 2
You know the right answer?
So i'm trying to figure out why this code wont run can anyone me

import sys

i...
Questions
question
English, 02.07.2019 23:30
question
Biology, 02.07.2019 23:30
question
English, 02.07.2019 23:30
Questions on the website: 13722362