No products in the cart.

Write a program that accept 2 …

CBSE, JEE, NEET, CUET

CBSE, JEE, NEET, CUET

Question Bank, Mock Tests, Exam Papers

NCERT Solutions, Sample Papers, Notes, Videos

Write a program that accept 2 number from the user and check whether number is positive Or negative
  • 2 answers

Milind Pandey 3 years, 4 months ago

print("POSITIVE OR NEGITIVE") x=float(input("\n\t\tENTER THE NUMBER WHICH YOU WANT TO NOW :")) if x>0: print("\n","so",x,"is the positive number") elif x==0: print(x,"is 0") else: print("\n","so",x,"this is negitive number",)

Milind Pandey 3 years, 4 months ago

print("POSITIVE OR NEGITIVE") x=float(input("\n\t\tENTER THE NUMBER WHICH YOU WANT TO NOW :")) if x>0: print("\n","so",x,"is the positive number") elif x==0: print(x,"is 0") else: print("\n","so",x,"this is negitive number",) print("POSITIVE OR NEGITIVE") x=float(input("\n\t\tENTER THE NUMBER WHICH YOU WANT TO NOW :")) if x>0: print("\n","so",x,"is the positive number") elif x==0: print(x,"is 0") else: print("\n","so",x,"this is negitive number",) print("POSITIVE OR NEGITIVE") x=float(input("\n\t\tENTER THE NUMBER WHICH YOU WANT TO NOW :")) if x>0: print("\n","so",x,"is the positive number") elif x==0: print(x,"is 0") else: print("\n","so",x,"this is negitive number",) print("POSITIVE OR NEGITIVE") x=float(input("\n\t\tENTER THE NUMBER WHICH YOU WANT TO NOW :")) if x>0: print("\n","so",x,"is the positive number") elif x==0: print(x,"is 0") else: print("\n","so",x,"this is negitive number",) print("POSITIVE OR NEGITIVE") x=float(input("\n\t\tENTER THE NUMBER WHICH YOU WANT TO NOW :")) if x>0: print("\n","so",x,"is the positive number") elif x==0: print(x,"is 0") else: print("\n","so",x,"this is negitive number",)
http://mycbseguide.com/examin8/

Related Questions

Case study based question
  • 0 answers
what is palindrone
  • 1 answers

myCBSEguide App

myCBSEguide

Trusted by 1 Crore+ Students

Test Generator

Test Generator

Create papers online. It's FREE.

CUET Mock Tests

CUET Mock Tests

75,000+ questions to practice only on myCBSEguide app

Download myCBSEguide App