ie, compare:
1,-1,1
to
1.0,-1, 1
should be the same
print("the input and the output are " + ( (input == calc_out) ? "the same" : "not the same"))
but it give a lexical error =\
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
The docs indicate various ways you can compare sequences and other types:
So for your example: