From the smark contract to get WETH from ETH on this link https://goerli.etherscan.io/address/0xccb14936c2e000ed8393a571d15a2672537838ad#writeContract
To make the deposit function work I have to code it like
weth.deposit({"from": account, "value": 0.02 * 10 ** 18})
and the withdraw function like weth.withdraw(0.02 * 10 ** 18,{"from": account})
I don't understand the logic of the difference.