Question: Timelert 05:49 Question 4 What string method can be used to determine if the string contained in the variable text only consists of letters? Not



Timelert 05:49 Question 4 What string method can be used to determine if the string contained in the variable text only consists of letters? Not yet answered Select one: taxt.is lower) Marked out of 1.00 text. Ludigit) Flag question text. anum) text.alpha CLEAR MY CHOICE Question 5 Consider the following code segment: ita > print("X") if a-bi print(Y) Not yet answered Marked out of 1.00 What is displayed if is 1 and is 22 Flag question Select one: * followed by on the next line Y O Nothing o CLEAR MY CHOICE Question 3 Which operator has the lowest precedence? Select one: o Not yet answered Marked out of 1.00 o Flag question o and Consider the following code segment: Question 2 Not yet answered Marked out of 1.00 it ab! print("") else: print("X") if - print("Y") else : print("") Flag question is, is 1 and is 1 then the output generated by this code segment is: Select one: O X followed by on the next line * followed by Y on the next line 8 W CLEAR MY CHOICE Time left 0:05:16 Question 1 Review the code snippet below: maritalStatus - input ("Enter your marital status (s for single, for marriedy :) maritalstatus - maritalstatus. upper() Not yet answered Which of the following statements can be used to validate whether the user entered a valid marital status? Marked out of 1.00 Flag question Select one: It marital status "MO" or "O! marital status "S" O marital Status: marital status O maritalststan - if (marital Status - "S" O marital Status - "") and (maritatatu matati- "M") CLEAR MY CHOICE
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
