In Python
Choose a number between 1 and 10 and assign it to the variablesecret. Then, select another number between 1 and 10 and assign it to the variableguess. Next, write the conditional tests (if,else, andelif) to print the string'toolow'ifguessis less thansecret,'toohigh'if greater thansecret, and'justright'if equal tosecret.
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here