I would prefer that the 2 lines that print new balance were on the same line instead of 2 separate lines. How do i do this?
def main():
# Initial balance
balance = input ('Wallet balance: ')
# Withdraw amount from wallet balance
withdraw = input ('Withdraw amount: ')
# Withdraw process and new balance display
if withdraw > 0:
new = balance - withdraw
print ('Your new balance: ')
print new
main()