Skip to content

Instantly share code, notes, and snippets.

View iamjosephmj's full-sized avatar

Joseph James iamjosephmj

View GitHub Profile
iamjosephmj / Problem one solution
Last active January 18, 2021 17:26
1.) Problem solving
def main():
# input
# stores
alphabets, num = str(input()), input()
if not alphabets.isalpha():
raise Exception("Expected only alphabets")
alphabets = alphabets.lower()
Sample terms and cond - loco
This is a sample t and c for the bank mock concept
class Greedy:
The constructor takes to parameters
:denominations -> ($20,$10,$5..etc)
:target -> amount to be given to Joseph
def __init__(self,deominations,target):
self.denominations = deominations = target