Kung nakinig ka sa tinuro sayo, you'll get that easily.. by the way, ayan yung pinakasimpleng question jan sa pinag aaralan nyong language. float() inside input() lang yan actually, and easy to code if talagang naiintindihan mo yung tinuro sayo. No need to example the code itself
Kung nakinig ka sa tinuro sayo, you'll get that easily.. by the way, ayan yung pinakasimpleng question jan sa pinag aaralan nyong language. float() inside input() lang yan actually, and easy to code if talagang naiintindihan mo yung tinuro sayo. No need to example the code itself
first_number = float(input("Enter the first number: "))
second_number = float(input("Enter the second number: "))
third_number = float(input("Enter the third number: "))
result = first_number + second_number + third_number
average = result / 3
print("First number is: ", second_number)
print("Second number is: ", third_number)
print("Third number is: ", first_number)
print("The average is ", average)