PKE|>OނM printtable.py"printtable: a program for multiplication and power tables" __version__ = "1.0.0" def get_multtable(number, limit): """ Returns a list with multiplication table for number from 1 to limit """ result = [] for i in range(1, limit+1): result.append(i * number) return result def multtable(number, limit): """ Prints multiplication table for number from 1 to limit >>> multtable(7, 3) 7 14 21 """ for i in range(1, limit+1): print(i * number) def powertable(power, limit): """ Prints power table from 1 to limit for input power >>> powertable(2, 5) 1 4 9 16 25 """ for n in range(1, limit + 1): result = n **power print(result) if __name__ == "__main__": #multtable(7, 10) powertable(3, 4) PK{>O^ %--'printtable_test-1.0.0.dist-info/LICENSEThe MIT License (MIT) Copyright (c) 2019 OV Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. PK!HMuSa%printtable_test-1.0.0.dist-info/WHEEL HM K-*ϳR03rOK-J,/RH,szd&Y)r$[)T&UD"PK!HKz(printtable_test-1.0.0.dist-info/METADATAMn0 Ew}rQS. 8Ctfl"*YHW-Ƌ{8bs"&vm: TQ5ڮʜ|`Mi, 9(=jrzߴ8Vѫfqm;j;z-(߾sOT{Sqp,gC98X͛z+dv; _;PK!H!&printtable_test-1.0.0.dist-info/RECORD̽v0@g 6 b% gD G >}]˝q`6gj:.~Lҙ7C6H˓~ i b]![D)XGr[̦KUB*=B .KBzu5CPKE|>OނM printtable.pyPK{>O^ %--'printtable_test-1.0.0.dist-info/LICENSEPK!HMuSa%printtable_test-1.0.0.dist-info/WHEELPK!HKz(printtable_test-1.0.0.dist-info/METADATAPK!H!& printtable_test-1.0.0.dist-info/RECORDPK