Ask Question

Given two variables, is_empty which is associated with a bool, indicating whether a class roster is empty or not, and number_of_credits which is associated with an int, containing the number of credits for a class, write an expression that evaluates to true if the class roster is not empty and the class is more than two credits.

+1
Answers (1)
  1. 4 July, 12:37
    0
    I guess the correct answer is:

    (is_empty==True) and (number_of_credits>2)
Know the Answer?
Not Sure About the Answer?
Find an answer to your question 👍 “Given two variables, is_empty which is associated with a bool, indicating whether a class roster is empty or not, and number_of_credits ...” in 📗 Computers & Technology if the answers seem to be not correct or there’s no answer. Try a smart search to find answers to similar questions.
Search for Other Answers