Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion solutions/python/practice22.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
#----- Pascal Triangle -----#
# Problem: Pascal Triangle
# Source: https://leetcode.com/problems/pascals-triangle/

## Prints Pascal's Triangle with the number of rows entered by the user.
# Each row starts and ends with 1.
Expand Down
4 changes: 3 additions & 1 deletion solutions/python/practice228.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
# py.checkio - Subject is Stressful
# Problem: Stressful Subject
# Source: https://py.checkio.org/en/mission/stressful-subject/


def is_stressful(subj: str) -> bool:
if subj.isupper():
Expand Down
3 changes: 2 additions & 1 deletion solutions/python/practice252.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
# FizzBuzz with Twist
# Problem: FizzBuzz with Twist
# Source: https://leetcode.com/problems/fizz-buzz/

def fizzbuzzpop(n):
res = ""
Expand Down
3 changes: 2 additions & 1 deletion solutions/python/practice255.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
# Coin Change (Minimum Coins)
# Problem: Coin Change (Minimum Coins)
# Source: https://leetcode.com/problems/coin-change/

def change(n):
coins = [50, 20, 10, 5, 1]
Expand Down
Loading