Contact
Privacy
Coding Development Art
  • Home
  • Latest
  • Oldest
  • Popular
  • Random
  • Home»

Write a python function to print whether a number is negative, positive or zero

Viewed: 7 - Published at: a few seconds ago

[ Write a python function to print whether a number is negative, positive or zero ]

def check_pnz(num):
    if num > 0:
       print("Positive number")

    elif num == 0:
       print("Zero")

    else:
       print("Negative number")

Related Posts:

C program that accepts radius of a circle and print its area
C program that accepts radius of a circle and print its area
C Programs
4 Non-Technical Skills to Become Successful Web Designer
4 Non-Technical Skills to Become Successful Web Designer
Design
C++ Program to convert first letter of each word of a string to uppercase and other to lowercase
C++ Program to convert first letter of each word of a string to uppercase and other to lowercase
C++ Programs
Introduction to SQL
Introduction to SQL
SQL
Reading and Writing JSON in Java
Reading and Writing JSON in Java
Java
4 Best Tips to Clean Your Touch Screen Device
4 Best Tips to Clean Your Touch Screen Device

You may also like:

Measuring Java Code Execution Time with Spring's StopWatch
Measuring Java Code Execution Time with Spring's StopWatch
Java
The Python Assert Statement
The Python Assert Statement
Python
Seaborn Distribution/Histogram Plot - Tutorial and Examples
Seaborn Distribution/Histogram Plot - Tutorial and Examples
Python
Python Send Email Using SMTP
Python Send Email Using SMTP
Python
Redirects in React Router
Redirects in React Router
JavaScript
Applications of Stack
Applications of Stack
Data Structure
Categories
  • Blog
    • Career
    • Computer
    • Downloads
    • Internet
    • Linux
    • News
    • Review
    • Security
    • Technology
  • Database
    • MySql
    • Oracle Database
    • SQL Server
    • SQLite
    • mongodb
  • Dev
    • Algorithm
    • Android
    • Batch File Programming
    • Books
    • Competitive Programming
    • Computer Networks
    • Data Structure
    • Design
    • Development
    • Flutter
    • Game
    • Git
    • Interview Questions
    • JDBC
    • Machine Learning
    • Mobile
    • Operating System
    • Programming
    • Projects
    • Sponsored
    • Webservice
    • iOS
  • Framework
    • .NET
    • Angular
    • Django
    • MVC
    • Nodejs
    • React
  • Programming Languages
    • ASP.NET
    • C Programs
    • C#
    • C++ Programs
    • CSS
    • HTML
    • JSP
    • Java
    • JavaScript
    • PHP
    • PL/SQL
    • Python
    • SQL
    • Swift
    • VB.NET
  • Tools
    • privacy-policy-generator
    • Mac Vendors
    • Ports Numbers
    • Wifi Routers Passwords

Site all the data, are collected from Internet, belongs to original author, please do not used for commercial purposes !

Coding Development Art
  https://www.codevelop.art
 
  contact@codevelop.art

Posts

  • Home
  • Latest
  • Oldest
  • Popular
  • Random

Follow Us

© 2018 codevelop.art - Coding Develop Art - programming and development tutorials blog - Learn all Program languages | codevelop.art.
All Rights Reserved.
  • Contact
  • Privacy
  • Terms of service
  • Copyright
  • Disclaimer