Update | 100% Correct.
Correct 39
Incorrect 00
WGU D385 OA Prep
39 Correct terms
Correct and answers
Term
Give this one a go later!
, Don't know?
2 of 39
Term
#check if the length of the password is at least 8 characters
if __name__ == '__main__':
password = input()
#write an if / else statement to evaluate passwords length
Give this one a go later!
if x is None:
print("x is a null value")
return y
elif y is None:
print("y is a null value")
return x
else:
return x * y
zipCode = int(zipCode)
r = range(1,11)
num = int(input())
, if num in r:
print("The number input is in the range from 1 and 10.")
else:
print("The number input is not in the range from 1 and 10.")
if(len(password) >= 8):
print("Your password is long enough.")
else:
print("Your password is too short.")
Don't know?
3 of 39
Term
401
Give this one a go later!
Created Intentional
Authorized Unauthorized
Don't know?
4 of 39
Term
, 500
Give this one a go later!
Response.content Internal Server Error
Logging.error("The Exception That
Forbidden
Occured Is: %s", Str(e))
Don't know?
5 of 39
Term
# verify we only have digits
def check_numeric_value(wg_int):
return isinstance(wg_int, int)
#return true if numeric value is an integer, else return false.
#Hint: use isinstance function
# verify if the string is null
def check_null_string (wg_string):
# check if wg_string is not null return true else return false
if __name__ == '__main__':
wg_string = "I like dogs." # use keyword None to test