Question: Review the following code: 1 x ? ? 8 2 if x ? ? 8 : 3 print ( It ' s 8 !

Review the following code:
1 x ??8
2 if x ??8:
3 print ("It's 8!")
4 else:
5 print ("It's not 8!")
In the above program, what operator should be used in line 1 in place of the?? (question marks)?
In the above program, what operator should be used in line 2 in place of the?? (question marks)?

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!