Skip to content

Instantly share code, notes, and snippets.

andrewgordstewart

View GitHub Profile
View ganache.log
eth_gasPrice
> {
> "method": "eth_gasPrice",
> "params": [],
> "id": 42,
> "jsonrpc": "2.0"
> }
eth_getTransactionCount
> {
> "method": "eth_getTransactionCount",
View 2048.py
import math
_ = input()
nums = list(map(int, input().strip().split(" ")))
print(2 ** int(math.log2(sum(nums))))
You can’t perform that action at this time.