Ask Question
14 January, 23:10

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) ?

+4
Answers (1)
  1. 15 January, 01:49
    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?
Get 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 & Technology if there is no answer or all answers are wrong, use a search bar and try to find the answer among similar questions.
Search for Other Answers