Which of the following if statements use a Boolean condition to test: "If you are taking Spanish I, you are eligible to join the Spanish Club"?
if(enrolledSpanishI == "yes"):
if(enrolledSpanishI >= "yes"):
if(enrolledSpanishI =! "yes"):
if(enrolledSpanishI <= "yes"):
Still Need Help?
Join the QuestionCove community and study together with friends!
Sign Up
Gucchi:
@ultrilliam
Gucchi:
first one right?
Gucchi:
@vocaloid
Gucchi:
@extrinix yo help man please
Gucchi:
i think its A idk tho
Still Need Help?
Join the QuestionCove community and study together with friends!
Sign Up
Extrinix:
What programming language is this again?
Gucchi:
python
Extrinix:
Okay
Extrinix:
It says you HAVE to be taking Spanish one, which means you would need it to be “yes” in the option of enrollment in Spanish I.
That would be A I think yeah, because \(\sf{==}\) is only equal to, meaning no other option would be allowed. (I’m more into Java/JS than Python so yeah)
5172319:
yeah i think A
Still Need Help?
Join the QuestionCove community and study together with friends!
Sign Up
Gucchi:
@extrinix wrote:
It says you HAVE to be taking Spanish one, which means you would need it to be “yes” in the option of enrollment in Spanish I.
That would be A I think yeah, because \(\sf{==}\) is only equal to, meaning no other option would be allowed. (I’m more into Java/JS than Python so yeah)