aboutsummaryrefslogtreecommitdiff
path: root/challenge-120/abigail/python
diff options
context:
space:
mode:
authorMohammad S Anwar <Mohammad.Anwar@yahoo.com>2021-07-07 23:07:38 +0100
committerGitHub <noreply@github.com>2021-07-07 23:07:38 +0100
commitd12a362d2cfdca9f657af51e2d7f5d9ff0f6970e (patch)
tree69fe1cce6683e03c4d312a6ea632399fe384458b /challenge-120/abigail/python
parent9c93eb9f24609c21a4964c75424ef82279ea6d73 (diff)
parent07885e8e6b5ede3d0727b4b419857aa5923d5315 (diff)
downloadperlweeklychallenge-club-d12a362d2cfdca9f657af51e2d7f5d9ff0f6970e.tar.gz
perlweeklychallenge-club-d12a362d2cfdca9f657af51e2d7f5d9ff0f6970e.tar.bz2
perlweeklychallenge-club-d12a362d2cfdca9f657af51e2d7f5d9ff0f6970e.zip
Merge pull request #4458 from Abigail/abigail/week-120
Abigail/week 120
Diffstat (limited to 'challenge-120/abigail/python')
-rw-r--r--challenge-120/abigail/python/ch-2.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/challenge-120/abigail/python/ch-2.py b/challenge-120/abigail/python/ch-2.py
index 5c01644600..012ed7569f 100644
--- a/challenge-120/abigail/python/ch-2.py
+++ b/challenge-120/abigail/python/ch-2.py
@@ -21,7 +21,7 @@ for line in fileinput . input ():
if 2 * angle >= FULL_CIRCLE:
angle = FULL_CIRCLE - angle
- print ("{}" . format (int (angle / 2)), end = '')
+ print (int (angle / 2), end = '')
if angle % 2:
print (".5", end = '')
print ("")