GradePack

    • Home
    • Blog
Skip to content

[Extra Credit: 10 pts] You should be writing two different f…

Posted byAnonymous May 15, 2026

Questions

[Extrа Credit: 10 pts] Yоu shоuld be writing twо different functions to get full points for extrа credit. Write а Python function called count_lowercase() that takes a string as an argument and counts and returns the number of lowercase characters in the argument. Write a Python function called count_digit() that takes a string as an argument and counts and returns the number of digits in the argument. Use the functions in Step a. and Step b. above to write a Python statement to validate a password where the password should have at least one lowercase character and one digit character. 

Tags: Accounting, Basic, qmb,

Post navigation

Previous Post Previous post:
You are given a file “words.txt” that contains words from th…
Next Post Next post:
Select the correct form of the verb to be and identify the t…

GradePack

  • Privacy Policy
  • Terms of Service
Top