10 lines
187 B
Python
10 lines
187 B
Python
from typing import Dict
|
|
|
|
|
|
def noteOn20(note: int, total: int):
|
|
return note * 20/total
|
|
|
|
|
|
def stripKeyDict(dict: Dict, key: str):
|
|
return {k: v for k, v in dict.items() if k != key}
|