Cyber Class 9 Python Programming

Asked by GIANSH GUPTA KHUNDKER · BIRLA BRAINIACS

You are writing a script to check password strength. Which function would you use to check the length of a password string?

Answer as guest — Start Free Practice Test to earn Practice PointsHow to earn pointsAsk a question+3Answer a question+1Someone answers yours+1Your Q gets upvoted+1Pioneer bonus (first 5)+51 point = ₹1 discount on purchases, ask questions & climb the leaderboard!
Show answer and explanation

Answer: B. len()

Answer: b) len()
Explanation: len() is the built-in Python function used to determine the number of items in an object, such as characters in a string.

Answering after opening this box earns no Practice Points.

people 1 answered check_circle 0% got it right
70%