subject

Pick the simplest line of code to test if the word "BASIC" is stored in the variable text1.

if ( text1 == "BASIC" ):

if (text1 == BASIC ):

if (text1 == str("BASIC") ):

if ( int(text1) == BASIC ):

ansver
Answers: 2

Another question on Computers and Technology

question
Computers and Technology, 21.06.2019 21:30
Ajeweler designing a pin has decided to use five stones chosen from diamonds, rubies, and emeralds. in how many ways can the stones be selected?
Answers: 3
question
Computers and Technology, 22.06.2019 15:00
Which of the following statements tests if students have a grade of 70 or above, as well as fewer than five absences? a: if(grade > = 70 and daysabsent < = 5): b: if(grade > = 70 or daysabsent < = 5): c: if(grade > 70 and daysabsent < = 5): d: if(grade > 70 or daysabsent < = 5): i took the test the answer is a
Answers: 1
question
Computers and Technology, 23.06.2019 05:20
What did creator markus “notch" persson initially call his game
Answers: 1
question
Computers and Technology, 24.06.2019 16:00
This isn't about school but every time it tells me to watch an ad to unlock the answer to a question it prompts a survey and it just keeps loading. so i haven't been able to get answers for my tests in like a week.
Answers: 2
You know the right answer?
Pick the simplest line of code to test if the word "BASIC" is stored in the variable text1.
Questions
question
Spanish, 25.08.2020 21:01
question
Mathematics, 25.08.2020 21:01
question
Mathematics, 25.08.2020 21:01
question
Mathematics, 25.08.2020 21:01