On this tutorial we will learn how to build a Simple Python Program to Check whether a given number is positive or negative.
This tutorial introduces us to conditional statement if else
Program overview
In order to determine whether a given number is positive or negative we need to know if that number is greater or less than 0.
Instructions summary
Getting a number from user
Checking If number is greater than 0
If number is greater than 0 is positive else the number is negative
#python #python keras