Issue
I am new to Python. How can I know if a function is being used or not; if it is not equal to zero then the program will print; otherwise, do not print any zero.
Solution
You are almost there... but you need to use != and : in your if statement
Using the 'if' statement :-
b1 = (int(a1[0]) + int(a2[0])) // 10
if b1!=0:
print(b1)
Answered By - Soumithri Chilakamarri
Answer Checked By - Dawn Plyler (JavaFixing Volunteer)