import web3
from web3 import Web3
w3 = Web3(Web3.IPCProvider())
balance = web3.eth.getBalance(k)
Traceback (most recent call last):
File "C:/Users/user/Desktop/storage.py", line 26, in <module>
class check():
File "C:/Users/user/Desktop/storage.py", line 54, in check
balance = web3.eth.getBalance(k)
AttributeError: module 'web3.eth' has no attribute 'getBalance'