Ask 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 "No."What will the penguin say if the user inputs 5 for the value of (x) ?

+3
Answers (1)
  1. 12 May, 08:27
    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 & 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