Posted 19 July 2013 - 08:23 PM
I have made a program that just simply tells you the printer levels, but I need it to say: "There are (paper_amount) pages left."
But I don't know how to do it:/ Here is my program:
Help please :)/>
But I don't know how to do it:/ Here is my program:
printer = peripheral.wrap("printer_0")
paper = printer.getPaperLevel()
ink = printer.getInkLevel()
print("There are" paper "page(s) left")
print("You have" ink "ink left.")
Help please :)/>