Dec-03-2018, 07:59 PM
(Dec-03-2018, 12:49 AM)hobbyprogrammer Wrote:I'm not sure how you're running your program, but that's not valid, and you should be getting errors.class klass: "docstring" def_int-self: self.attribute="var" if len (self.attribute)<2: pass
Let's talk style! Instead of...
print("");print("");print("This program will return all the letter conbinations") print( "that are available on the modern phone") print("You just type in a seven digit number and let the program display") print("all the letter conbinations that make up that number Enjoy");print("")...try this!
docs = """This program will return all the letter conbinations that are available on the modern phone You just type in a seven digit number and let the program display all the letter conbinations that make up that number Enjoy""" print(docs)