Created
May 25, 2015 13:05
-
-
Save fchevitarese/93be997f38c2086adcdd to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# coding: utf-8 | |
# Lista de valores que são retornados... | |
list_values = ("1432430070.573", | |
"1432430070.574", | |
"1432430856.584", | |
"1432430856.585", | |
"1432555386.0", | |
"1432555386.1", | |
"1432555564.3", | |
"1432430070.573", | |
"1432430070.574", | |
"1432430856.584", | |
"1432430856.585", | |
"1432555386.0", | |
"1432555386.1", | |
"1432555564.3", | |
"1432555564.4", | |
) | |
# Valor certo! | |
right_value = "1432555564.4" | |
for l in list_values: | |
if l == right_value: | |
print "list_item (%s) == right_value (%s)" % (l, right_value) | |
else: | |
print "list_item (%s) != right_value (%s)" % (l, right_value) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment