Adicionando números usando a função python
# Welcome to softhunt.net
def adder(x,y,z):
print("sum:",x+y+z)
adder(78,34,12)
Outrageous Ostrich
# Welcome to softhunt.net
def adder(x,y,z):
print("sum:",x+y+z)
adder(78,34,12)
number_1 = 1
fully_number = number_1 + number_1
can = True
if can:
print(fully_number)
# This program adds two numbers
num1 = 1.5
num2 = 6.3
# Add two numbers
sum = num1 + num2
# Display the sum
print('The sum of {0} and {1} is {2}'.format(num1, num2, sum))
number1 = 22
number2 = 16
total_number = number1 + number2
print(total_number)
#the result should be 38 :)
number3 = 12
the_total_nmbr = total_number + 12
print(the_total_nmbr) #result should be 50 now