Ask Question
17 July, 00:38

Given the variable (x), where (x) is the number input by the user:IF (x) >=4 then the penguin will say "Yes."ELSE the penguin will say "No."What will the penguin say if the user inputs 5 for the value of (x) ?

+5
Answers (1)
  1. 17 July, 02:09
    0
    Yes

    Explanation:

    Since the user input 5 is greater than 4 and the condition says if (x) >=4.

    See the code snippet below written in Python

    x = int (input ("Input a number "))

    if x>=4:

    print ('Yes')

    else:

    print ('No')

    The output is Yes when user enters 5
Know the Answer?
Not Sure About the Answer?
Find an answer to your question ✅ “Given the variable (x), where (x) is the number input by the user:IF (x) >=4 then the penguin will say "Yes."ELSE the penguin will say ...” in 📘 Computers and Technology if you're in doubt about the correctness of the answers or there's no answer, then try to use the smart search and find answers to the similar questions.
Search for Other Answers