Skip to content

Commit bc8921a

Browse files
committed
Format Python code with Black
1 parent a382ef9 commit bc8921a

File tree

63 files changed

+56
-7
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

63 files changed

+56
-7
lines changed

BasicDataTypes/Findingthepercentage.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
Updated : 06 February 2023
88
Problem : https://www.hackerrank.com/challenges/finding-the-percentage/problem
99
"""
10+
1011
if __name__ == "__main__":
1112
n = int(input())
1213
student_marks = {}

BasicDataTypes/FindtheSecondLargestNumber.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
Created : 15 July 2016
77
Problem : https://www.hackerrank.com/challenges/find-second-maximum-number-in-a-list/problem
88
"""
9+
910
if __name__ == "__main__":
1011
n = int(input())
1112
arr = map(int, input().split())

BasicDataTypes/ListComprehensions.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
Created : 06 July 2020
77
Problem : https://www.hackerrank.com/challenges/list-comprehensions/problem
88
"""
9+
910
if __name__ == "__main__":
1011
x = int(input())
1112
y = int(input())

BasicDataTypes/Lists.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@
88
Problem : https://www.hackerrank.com/challenges/python-lists/problem
99
"""
1010

11-
1211
if __name__ == "__main__":
1312
N = int(input())
1413
ar = []

BasicDataTypes/NestedLists.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
Created : 06 July 2020
77
Problem : https://www.hackerrank.com/challenges/nested-list/problem
88
"""
9+
910
if __name__ == "__main__":
1011
students = []
1112
scores = []

BasicDataTypes/Tuples.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
Created : 06 July 2020
77
Problem : https://www.hackerrank.com/challenges/python-tuples/problem
88
"""
9+
910
if __name__ == "__main__":
1011
n = int(input())
1112
integer_list = map(int, input().split())

BuiltIns/PythonEvaluation.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,5 @@
66
Created : 15 July 2016
77
Problem : https://www.hackerrank.com/challenges/python-eval/problem
88
"""
9+
910
eval(input())

Classes/ClassesDealingwithComplexNumbers.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
Updated : 30 August 2022
99
Problem : https://www.hackerrank.com/challenges/class-1-dealing-with-complex-numbers/problem
1010
"""
11+
1112
import math
1213

1314

ClosuresandDecorators/StandardizeMobileNumberUsingDecorators.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@
77
Problem : https://www.hackerrank.com/challenges/standardize-mobile-number-using-decorators/problem
88
"""
99

10-
1110
# Enter your code here. Read input from STDIN. Print output to STDOUT
1211
n = int(input())
1312
ar = []

Collections/WordOrder.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
Created : 15 July 2016
77
Problem : https://www.hackerrank.com/challenges/word-order/problem
88
"""
9+
910
from collections import Counter, OrderedDict
1011

1112

0 commit comments

Comments
 (0)