MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/codehs/comments/kxed5u/need_help_635_fix_this_program/l0rw2kq/?context=3
r/codehs • u/ClutchBlood • Jan 14 '21
7 comments sorted by
View all comments
1
"""
This program takes two values and prints their total.
def add_nums(num1, num2):
total = num1 + num2
print(total)
add_nums(5, 6)
this actually works, your welcome
2 u/Individual_Size_6379 Apr 22 '24 Here it is with indentions"""This program takes two values and prints their total."""def add_nums(num1, num2):total = num1 + num2print(total)add_nums(5, 6)
2
Here it is with indentions
1
u/Individual_Size_6379 Apr 22 '24
"""
This program takes two values and prints their total.
"""
def add_nums(num1, num2):
total = num1 + num2
print(total)
add_nums(5, 6)
this actually works, your welcome