Computers and Technology

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 ):

answer
Answers: 2

Other questions on the subject: Computers and Technology

image
Computers and Technology, 21.06.2019 17:00, carealee
How should you set the ohms adjust control on a multitester of analog vom, for resistance measurements?
Answers: 1
image
Computers and Technology, 22.06.2019 23:30, TheBurntToast
What is the digital revolution and how did it change society? what are the benefits of digital media?
Answers: 1
image
Computers and Technology, 23.06.2019 10:00, uwunuzzles
How do i delete my account on this because i didn't read this agreements and also i put age at xd
Answers: 1
image
Computers and Technology, 24.06.2019 21:40, justintintran
Assume you need to test a function named inorder. the function inorder receives three int arguments and returns true if and only if the arguments are in non-decreasing order: that is, the second argument is not < the first and the third is not < the second. write the definition of driver function testinorder whose job it is to determine whether inorder is correct. so testinorder returns true if inorder is correct and returns false otherwise. for the purposes of this exercise, assume inorder is an expensive function call, so call it as few times as possible!
Answers: 1
Do you know the correct answer?
Pick the simplest line of code to test if the word "BASIC" is stored in the variable text1.

Questions in other subjects:

Konu
Mathematics, 03.02.2021 20:00
Konu
Mathematics, 03.02.2021 20:00
Konu
History, 03.02.2021 20:00