mirror of
https://github.com/MartinThoma/LaTeX-examples.git
synced 2025-04-26 06:48:04 +02:00
Adjust Python code to follow PEP8
This commit is contained in:
parent
b36776fc27
commit
de1ad26035
14 changed files with 349 additions and 311 deletions
|
@ -1,12 +1,14 @@
|
|||
#!/usr/bin/env python
|
||||
# -*- coding: utf-8 -*-
|
||||
|
||||
|
||||
def string(zahl):
|
||||
if zahl <= 9:
|
||||
return str(zahl)
|
||||
else:
|
||||
return chr(55+zahl)
|
||||
|
||||
|
||||
def horner(b, Z):
|
||||
ergebnis = ''
|
||||
while Z > 0:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue