Python Functions, Packing, and Unpacking Packing and Unpacking Packing, a Practical Example

Fradely Dilone
Fradely Dilone
22,790 Points

CLI not showing the code

def calculate_total(*args): total = sum(args) print(total)

calculate_total(25, 25, 20, 30)


does not print the result of the code

1 Answer

Jebadeiah Jones
Jebadeiah Jones
10,375 Points

The 'python3' command is case-sensitive, so using 'Python3' will give you a bash error saying the command is not found. Is that what you're encountering?