rs200415@rguktsklm.ac.in
CODERZONE
Home
Newsbuzz
PUC Material
Courses
Python Tutorial
C Tutorial
C++ Tutorial
java Tutorial
login
Run
Back
#try to avoid input function a = int(input("Enter cost prize :")) b = int(input("Enter selling prize :")) if a > b: print("Loss") elif a < b: print("Profit") else: print("No profit / No loss")
#try to avoid input function a = int(input("Enter cost prize :")) b = int(input("Enter selling prize :")) if a > b: print("Loss") elif a < b: print("Profit") else: print("No profit / No loss")
Click the run button. Try to avoid input() function.