code
stringlengths 14
580
| varname
stringlengths 1
25
| vartype
stringclasses 13
values |
---|---|---|
a, b = "1", 1
temp_a, temp_b = a, b | a | str |
a, b = "1", 1
temp_a, temp_b = a, b | b | int |
a, b = "1", 1
temp_a, temp_b = a, b | temp_a | str |
a, b = "1", 1
temp_a, temp_b = a, b | temp_b | int |
a, b = "1", 1
temp_a, temp_b = a, b
if isinstance(temp_a, str): temp_a = temp_a.replace(',','.')
if isinstance(temp_b, str): temp_b = temp_b.replace(',','.') | a | str |
a, b = "1", 1
temp_a, temp_b = a, b
if isinstance(temp_a, str): temp_a = temp_a.replace(',','.')
if isinstance(temp_b, str): temp_b = temp_b.replace(',','.') | b | int |
a, b = "1", 1
temp_a, temp_b = a, b
if isinstance(temp_a, str): temp_a = temp_a.replace(',','.')
if isinstance(temp_b, str): temp_b = temp_b.replace(',','.') | temp_a | str |
a, b = "1", 1
temp_a, temp_b = a, b
if isinstance(temp_a, str): temp_a = temp_a.replace(',','.')
if isinstance(temp_b, str): temp_b = temp_b.replace(',','.') | temp_b | int |
a, b = "1", 1
temp_a, temp_b = a, b
if isinstance(temp_a, str): temp_a = temp_a.replace(',','.')
if isinstance(temp_b, str): temp_b = temp_b.replace(',','.')
if float(temp_a) == float(temp_b): compare_one = None | a | str |
a, b = "1", 1
temp_a, temp_b = a, b
if isinstance(temp_a, str): temp_a = temp_a.replace(',','.')
if isinstance(temp_b, str): temp_b = temp_b.replace(',','.')
if float(temp_a) == float(temp_b): compare_one = None | b | int |
a, b = "1", 1
temp_a, temp_b = a, b
if isinstance(temp_a, str): temp_a = temp_a.replace(',','.')
if isinstance(temp_b, str): temp_b = temp_b.replace(',','.')
if float(temp_a) == float(temp_b): compare_one = None | compare_one | NoneType |
a, b = "1", 1
temp_a, temp_b = a, b
if isinstance(temp_a, str): temp_a = temp_a.replace(',','.')
if isinstance(temp_b, str): temp_b = temp_b.replace(',','.')
if float(temp_a) == float(temp_b): compare_one = None | temp_a | str |
a, b = "1", 1
temp_a, temp_b = a, b
if isinstance(temp_a, str): temp_a = temp_a.replace(',','.')
if isinstance(temp_b, str): temp_b = temp_b.replace(',','.')
if float(temp_a) == float(temp_b): compare_one = None | temp_b | int |
a, b = "1", 1
temp_a, temp_b = a, b
if isinstance(temp_a, str): temp_a = temp_a.replace(',','.') | a | str |
a, b = "1", 1
temp_a, temp_b = a, b
if isinstance(temp_a, str): temp_a = temp_a.replace(',','.') | b | int |
a, b = "1", 1
temp_a, temp_b = a, b
if isinstance(temp_a, str): temp_a = temp_a.replace(',','.') | temp_a | str |
a, b = "1", 1
temp_a, temp_b = a, b
if isinstance(temp_a, str): temp_a = temp_a.replace(',','.') | temp_b | int |
n = 10
is_equal_to_sum_even = n%2 == 0 and n >= 8 | is_equal_to_sum_even | bool |
n = 10
is_equal_to_sum_even = n%2 == 0 and n >= 8 | n | int |
n = 4
fact_i = 1
special_fact = 1
for i in range(1, n+1):
fact_i *= i
special_fact *= fact_i
special_factorial = special_fact | fact_i | int |
n = 4
fact_i = 1
special_fact = 1
for i in range(1, n+1):
fact_i *= i
special_fact *= fact_i
special_factorial = special_fact | i | int |
n = 4
fact_i = 1
special_fact = 1
for i in range(1, n+1):
fact_i *= i
special_fact *= fact_i
special_factorial = special_fact | n | int |
n = 4
fact_i = 1
special_fact = 1
for i in range(1, n+1):
fact_i *= i
special_fact *= fact_i
special_factorial = special_fact | special_fact | int |
n = 4
fact_i = 1
special_fact = 1
for i in range(1, n+1):
fact_i *= i
special_fact *= fact_i
special_factorial = special_fact | special_factorial | int |
n = 4
fact_i = 1
special_fact = 1
for i in range(1, n+1):
fact_i *= i
special_fact *= fact_i | fact_i | int |
n = 4
fact_i = 1
special_fact = 1
for i in range(1, n+1):
fact_i *= i
special_fact *= fact_i | i | int |
n = 4
fact_i = 1
special_fact = 1
for i in range(1, n+1):
fact_i *= i
special_fact *= fact_i | n | int |
n = 4
fact_i = 1
special_fact = 1
for i in range(1, n+1):
fact_i *= i
special_fact *= fact_i | special_fact | int |
n = 4
fact_i = 1
special_fact = 1
for i in range(1, n+1): | fact_i | int |
n = 4
fact_i = 1
special_fact = 1
for i in range(1, n+1): | i | int |
n = 4
fact_i = 1
special_fact = 1
for i in range(1, n+1): | n | int |
n = 4
fact_i = 1
special_fact = 1
for i in range(1, n+1): | special_fact | int |
n = 4
fact_i = 1
special_fact = 1
for i in range(1, n+1):
fact_i *= i | fact_i | int |
n = 4
fact_i = 1
special_fact = 1
for i in range(1, n+1):
fact_i *= i | i | int |
n = 4
fact_i = 1
special_fact = 1
for i in range(1, n+1):
fact_i *= i | n | int |
n = 4
fact_i = 1
special_fact = 1
for i in range(1, n+1):
fact_i *= i | special_fact | int |
text = "Exa mple"
new_text = ""
i = 0
start, end = 0, 0
while i < len(text):
if text[i] == " ":
end += 1
else:
if end - start > 2:
new_text += "-"+text[i]
elif end - start > 0:
new_text += "_"*(end - start)+text[i]
else: | end | int |
text = "Exa mple"
new_text = ""
i = 0
start, end = 0, 0
while i < len(text):
if text[i] == " ":
end += 1
else:
if end - start > 2:
new_text += "-"+text[i]
elif end - start > 0:
new_text += "_"*(end - start)+text[i]
else: | i | int |
text = "Exa mple"
new_text = ""
i = 0
start, end = 0, 0
while i < len(text):
if text[i] == " ":
end += 1
else:
if end - start > 2:
new_text += "-"+text[i]
elif end - start > 0:
new_text += "_"*(end - start)+text[i]
else: | new_text | str |
text = "Exa mple"
new_text = ""
i = 0
start, end = 0, 0
while i < len(text):
if text[i] == " ":
end += 1
else:
if end - start > 2:
new_text += "-"+text[i]
elif end - start > 0:
new_text += "_"*(end - start)+text[i]
else: | start | int |
text = "Exa mple"
new_text = ""
i = 0
start, end = 0, 0
while i < len(text):
if text[i] == " ":
end += 1
else:
if end - start > 2:
new_text += "-"+text[i]
elif end - start > 0:
new_text += "_"*(end - start)+text[i]
else: | text | str |
text = "Exa mple"
new_text = "" | new_text | str |
text = "Exa mple"
new_text = "" | text | str |
file_name = 'I563_Yes3.txtt'
suf = ['txt', 'exe', 'dll']
lst = file_name.split(sep='.') | file_name | str |
file_name = 'I563_Yes3.txtt'
suf = ['txt', 'exe', 'dll']
lst = file_name.split(sep='.') | lst | list |
file_name = 'I563_Yes3.txtt'
suf = ['txt', 'exe', 'dll']
lst = file_name.split(sep='.') | suf | list |
file_name = 'I563_Yes3.txtt'
suf = ['txt', 'exe', 'dll']
lst = file_name.split(sep='.')
if len(lst) != 2:
file_name_check = 'No'
if not lst[1] in suf: | file_name | str |
file_name = 'I563_Yes3.txtt'
suf = ['txt', 'exe', 'dll']
lst = file_name.split(sep='.')
if len(lst) != 2:
file_name_check = 'No'
if not lst[1] in suf: | lst | list |
file_name = 'I563_Yes3.txtt'
suf = ['txt', 'exe', 'dll']
lst = file_name.split(sep='.')
if len(lst) != 2:
file_name_check = 'No'
if not lst[1] in suf: | suf | list |
file_name = 'I563_Yes3.txtt'
suf = ['txt', 'exe', 'dll']
lst = file_name.split(sep='.')
if len(lst) != 2:
file_name_check = 'No'
if not lst[1] in suf:
file_name_check = 'No'
if len(lst[0]) == 0:
file_name_check = 'No'
if not lst[0][0].isalpha():
file_name_check = 'No'
t = len([x for x in lst[0] if x.isdigit()]) | file_name | str |
file_name = 'I563_Yes3.txtt'
suf = ['txt', 'exe', 'dll']
lst = file_name.split(sep='.')
if len(lst) != 2:
file_name_check = 'No'
if not lst[1] in suf:
file_name_check = 'No'
if len(lst[0]) == 0:
file_name_check = 'No'
if not lst[0][0].isalpha():
file_name_check = 'No'
t = len([x for x in lst[0] if x.isdigit()]) | file_name_check | str |
file_name = 'I563_Yes3.txtt'
suf = ['txt', 'exe', 'dll']
lst = file_name.split(sep='.')
if len(lst) != 2:
file_name_check = 'No'
if not lst[1] in suf:
file_name_check = 'No'
if len(lst[0]) == 0:
file_name_check = 'No'
if not lst[0][0].isalpha():
file_name_check = 'No'
t = len([x for x in lst[0] if x.isdigit()]) | lst | list |
file_name = 'I563_Yes3.txtt'
suf = ['txt', 'exe', 'dll']
lst = file_name.split(sep='.')
if len(lst) != 2:
file_name_check = 'No'
if not lst[1] in suf:
file_name_check = 'No'
if len(lst[0]) == 0:
file_name_check = 'No'
if not lst[0][0].isalpha():
file_name_check = 'No'
t = len([x for x in lst[0] if x.isdigit()]) | suf | list |
file_name = 'I563_Yes3.txtt'
suf = ['txt', 'exe', 'dll']
lst = file_name.split(sep='.')
if len(lst) != 2:
file_name_check = 'No'
if not lst[1] in suf:
file_name_check = 'No'
if len(lst[0]) == 0:
file_name_check = 'No'
if not lst[0][0].isalpha():
file_name_check = 'No'
t = len([x for x in lst[0] if x.isdigit()]) | t | int |
lst = [-1,-5,2,-1,-5]
result =[]
for i in range(len(lst)):
if i %3 == 0:
result.append(lst[i]**2)
elif i % 4 == 0 and i%3 != 0: | i | int |
lst = [-1,-5,2,-1,-5]
result =[]
for i in range(len(lst)):
if i %3 == 0:
result.append(lst[i]**2)
elif i % 4 == 0 and i%3 != 0: | lst | list |
lst = [-1,-5,2,-1,-5]
result =[]
for i in range(len(lst)):
if i %3 == 0:
result.append(lst[i]**2)
elif i % 4 == 0 and i%3 != 0: | result | list |
lst = [-1,-5,2,-1,-5]
result =[]
for i in range(len(lst)): | i | int |
lst = [-1,-5,2,-1,-5]
result =[]
for i in range(len(lst)): | lst | list |
lst = [-1,-5,2,-1,-5]
result =[]
for i in range(len(lst)): | result | list |
lst = [-1,-5,2,-1,-5]
result =[]
for i in range(len(lst)):
if i %3 == 0:
result.append(lst[i]**2)
elif i % 4 == 0 and i%3 != 0:
result.append(lst[i]**3) | i | int |
lst = [-1,-5,2,-1,-5]
result =[]
for i in range(len(lst)):
if i %3 == 0:
result.append(lst[i]**2)
elif i % 4 == 0 and i%3 != 0:
result.append(lst[i]**3) | lst | list |
lst = [-1,-5,2,-1,-5]
result =[]
for i in range(len(lst)):
if i %3 == 0:
result.append(lst[i]**2)
elif i % 4 == 0 and i%3 != 0:
result.append(lst[i]**3) | result | list |
lst = [-1,-5,2,-1,-5]
result =[]
for i in range(len(lst)):
if i %3 == 0:
result.append(lst[i]**2)
elif i % 4 == 0 and i%3 != 0:
result.append(lst[i]**3)
else:
result.append(lst[i])
sum_squares = sum(result) | i | int |
lst = [-1,-5,2,-1,-5]
result =[]
for i in range(len(lst)):
if i %3 == 0:
result.append(lst[i]**2)
elif i % 4 == 0 and i%3 != 0:
result.append(lst[i]**3)
else:
result.append(lst[i])
sum_squares = sum(result) | lst | list |
lst = [-1,-5,2,-1,-5]
result =[]
for i in range(len(lst)):
if i %3 == 0:
result.append(lst[i]**2)
elif i % 4 == 0 and i%3 != 0:
result.append(lst[i]**3)
else:
result.append(lst[i])
sum_squares = sum(result) | result | list |
lst = [-1,-5,2,-1,-5]
result =[]
for i in range(len(lst)):
if i %3 == 0:
result.append(lst[i]**2)
elif i % 4 == 0 and i%3 != 0:
result.append(lst[i]**3)
else:
result.append(lst[i])
sum_squares = sum(result) | sum_squares | int |
sentence = "This is a test"
new_lst = []
for word in sentence.split():
flg = 0
if len(word) == 1: | flg | int |
sentence = "This is a test"
new_lst = []
for word in sentence.split():
flg = 0
if len(word) == 1: | new_lst | list |
sentence = "This is a test"
new_lst = []
for word in sentence.split():
flg = 0
if len(word) == 1: | sentence | str |
sentence = "This is a test"
new_lst = []
for word in sentence.split():
flg = 0
if len(word) == 1: | word | str |
sentence = "This is a test"
new_lst = []
for word in sentence.split():
flg = 0
if len(word) == 1:
flg = 1
for i in range(2, len(word)):
if len(word)%i == 0:
flg = 1
if flg == 0 or len(word) == 2:
new_lst.append(word)
words_in_sentence = " ".join(new_lst) | flg | int |
sentence = "This is a test"
new_lst = []
for word in sentence.split():
flg = 0
if len(word) == 1:
flg = 1
for i in range(2, len(word)):
if len(word)%i == 0:
flg = 1
if flg == 0 or len(word) == 2:
new_lst.append(word)
words_in_sentence = " ".join(new_lst) | i | int |
sentence = "This is a test"
new_lst = []
for word in sentence.split():
flg = 0
if len(word) == 1:
flg = 1
for i in range(2, len(word)):
if len(word)%i == 0:
flg = 1
if flg == 0 or len(word) == 2:
new_lst.append(word)
words_in_sentence = " ".join(new_lst) | new_lst | list |
sentence = "This is a test"
new_lst = []
for word in sentence.split():
flg = 0
if len(word) == 1:
flg = 1
for i in range(2, len(word)):
if len(word)%i == 0:
flg = 1
if flg == 0 or len(word) == 2:
new_lst.append(word)
words_in_sentence = " ".join(new_lst) | sentence | str |
sentence = "This is a test"
new_lst = []
for word in sentence.split():
flg = 0
if len(word) == 1:
flg = 1
for i in range(2, len(word)):
if len(word)%i == 0:
flg = 1
if flg == 0 or len(word) == 2:
new_lst.append(word)
words_in_sentence = " ".join(new_lst) | word | str |
sentence = "This is a test"
new_lst = []
for word in sentence.split():
flg = 0
if len(word) == 1:
flg = 1
for i in range(2, len(word)):
if len(word)%i == 0:
flg = 1
if flg == 0 or len(word) == 2:
new_lst.append(word)
words_in_sentence = " ".join(new_lst) | words_in_sentence | str |
sentence = "This is a test"
new_lst = []
for word in sentence.split():
flg = 0
if len(word) == 1:
flg = 1
for i in range(2, len(word)):
if len(word)%i == 0:
flg = 1 | flg | int |
sentence = "This is a test"
new_lst = []
for word in sentence.split():
flg = 0
if len(word) == 1:
flg = 1
for i in range(2, len(word)):
if len(word)%i == 0:
flg = 1 | i | int |
sentence = "This is a test"
new_lst = []
for word in sentence.split():
flg = 0
if len(word) == 1:
flg = 1
for i in range(2, len(word)):
if len(word)%i == 0:
flg = 1 | new_lst | list |
sentence = "This is a test"
new_lst = []
for word in sentence.split():
flg = 0
if len(word) == 1:
flg = 1
for i in range(2, len(word)):
if len(word)%i == 0:
flg = 1 | sentence | str |
sentence = "This is a test"
new_lst = []
for word in sentence.split():
flg = 0
if len(word) == 1:
flg = 1
for i in range(2, len(word)):
if len(word)%i == 0:
flg = 1 | word | str |
sentence = "This is a test"
new_lst = []
for word in sentence.split():
flg = 0
if len(word) == 1:
flg = 1
for i in range(2, len(word)): | flg | int |
sentence = "This is a test"
new_lst = []
for word in sentence.split():
flg = 0
if len(word) == 1:
flg = 1
for i in range(2, len(word)): | i | int |
sentence = "This is a test"
new_lst = []
for word in sentence.split():
flg = 0
if len(word) == 1:
flg = 1
for i in range(2, len(word)): | new_lst | list |
sentence = "This is a test"
new_lst = []
for word in sentence.split():
flg = 0
if len(word) == 1:
flg = 1
for i in range(2, len(word)): | sentence | str |
sentence = "This is a test"
new_lst = []
for word in sentence.split():
flg = 0
if len(word) == 1:
flg = 1
for i in range(2, len(word)): | word | str |
x, n = "2/4", "4/2"
a, b = x.split("/")
c, d = n.split("/") | a | str |
x, n = "2/4", "4/2"
a, b = x.split("/")
c, d = n.split("/") | b | str |
x, n = "2/4", "4/2"
a, b = x.split("/")
c, d = n.split("/") | c | str |
x, n = "2/4", "4/2"
a, b = x.split("/")
c, d = n.split("/") | d | str |
x, n = "2/4", "4/2"
a, b = x.split("/")
c, d = n.split("/") | n | str |
x, n = "2/4", "4/2"
a, b = x.split("/")
c, d = n.split("/") | x | str |
x, n = "2/4", "4/2"
a, b = x.split("/")
c, d = n.split("/")
numerator = int(a) * int(c) | a | str |
x, n = "2/4", "4/2"
a, b = x.split("/")
c, d = n.split("/")
numerator = int(a) * int(c) | b | str |
x, n = "2/4", "4/2"
a, b = x.split("/")
c, d = n.split("/")
numerator = int(a) * int(c) | c | str |
x, n = "2/4", "4/2"
a, b = x.split("/")
c, d = n.split("/")
numerator = int(a) * int(c) | d | str |
x, n = "2/4", "4/2"
a, b = x.split("/")
c, d = n.split("/")
numerator = int(a) * int(c) | n | str |
x, n = "2/4", "4/2"
a, b = x.split("/")
c, d = n.split("/")
numerator = int(a) * int(c) | numerator | int |
x, n = "2/4", "4/2"
a, b = x.split("/")
c, d = n.split("/")
numerator = int(a) * int(c) | x | str |