text stringclasses 8
values | instruction stringclasses 8
values | answer stringclasses 8
values | tag stringclasses 8
values |
|---|---|---|---|
Instruction: Write Python code that prints hello.
Answer: print('hello') <END> | Write Python code that prints hello. | print('hello') | print_hello |
Instruction: Write Python code that prints hello.
Answer: print('hello') <END> | Write Python code that prints hello. | print('hello') | print_hello |
Instruction: Write a tiny Python function that multiplies two numbers.
Answer: def multiply(a, b):
return a * b <END> | Write a tiny Python function that multiplies two numbers. | def multiply(a, b):
return a * b | multiply |
Instruction: Write a tiny Python function that multiplies two numbers.
Answer: def multiply(a, b):
return a * b <END> | Write a tiny Python function that multiplies two numbers. | def multiply(a, b):
return a * b | multiply |
Instruction: Write a Python loop that prints numbers from 0 to 2.
Answer: for i in range(3):
print(i) <END> | Write a Python loop that prints numbers from 0 to 2. | for i in range(3):
print(i) | loop_range |
Instruction: Write a tiny Python function that divides two numbers.
Answer: def divide(a, b):
return a / b <END> | Write a tiny Python function that divides two numbers. | def divide(a, b):
return a / b | divide |
Instruction: Write Python code that prints hello.
Answer: print('hello') <END> | Write Python code that prints hello. | print('hello') | print_hello |
Instruction: Write a Python if statement that checks if x is positive.
Answer: if x > 0:
print('positive') <END> | Write a Python if statement that checks if x is positive. | if x > 0:
print('positive') | if_positive |
Instruction: Write Python code that makes a list of three numbers.
Answer: numbers = [1, 2, 3] <END> | Write Python code that makes a list of three numbers. | numbers = [1, 2, 3] | list_numbers |
Instruction: Write a tiny Python function that divides two numbers.
Answer: def divide(a, b):
return a / b <END> | Write a tiny Python function that divides two numbers. | def divide(a, b):
return a / b | divide |
Instruction: Write a tiny Python function that multiplies two numbers.
Answer: def multiply(a, b):
return a * b <END> | Write a tiny Python function that multiplies two numbers. | def multiply(a, b):
return a * b | multiply |
Instruction: Write a tiny Python function that divides two numbers.
Answer: def divide(a, b):
return a / b <END> | Write a tiny Python function that divides two numbers. | def divide(a, b):
return a / b | divide |
Instruction: Write Python code that prints hello.
Answer: print('hello') <END> | Write Python code that prints hello. | print('hello') | print_hello |
Instruction: Write a tiny Python function that adds two numbers.
Answer: def add(a, b):
return a + b <END> | Write a tiny Python function that adds two numbers. | def add(a, b):
return a + b | add |
Instruction: Write a tiny Python function that multiplies two numbers.
Answer: def multiply(a, b):
return a * b <END> | Write a tiny Python function that multiplies two numbers. | def multiply(a, b):
return a * b | multiply |
Instruction: Write a tiny Python function that multiplies two numbers.
Answer: def multiply(a, b):
return a * b <END> | Write a tiny Python function that multiplies two numbers. | def multiply(a, b):
return a * b | multiply |
Instruction: Write a Python if statement that checks if x is positive.
Answer: if x > 0:
print('positive') <END> | Write a Python if statement that checks if x is positive. | if x > 0:
print('positive') | if_positive |
Instruction: Write a Python if statement that checks if x is positive.
Answer: if x > 0:
print('positive') <END> | Write a Python if statement that checks if x is positive. | if x > 0:
print('positive') | if_positive |
Instruction: Write a tiny Python function that multiplies two numbers.
Answer: def multiply(a, b):
return a * b <END> | Write a tiny Python function that multiplies two numbers. | def multiply(a, b):
return a * b | multiply |
Instruction: Write a tiny Python function that adds two numbers.
Answer: def add(a, b):
return a + b <END> | Write a tiny Python function that adds two numbers. | def add(a, b):
return a + b | add |
Instruction: Write a Python if statement that checks if x is positive.
Answer: if x > 0:
print('positive') <END> | Write a Python if statement that checks if x is positive. | if x > 0:
print('positive') | if_positive |
Instruction: Write a Python if statement that checks if x is positive.
Answer: if x > 0:
print('positive') <END> | Write a Python if statement that checks if x is positive. | if x > 0:
print('positive') | if_positive |
Instruction: Write a tiny Python function that divides two numbers.
Answer: def divide(a, b):
return a / b <END> | Write a tiny Python function that divides two numbers. | def divide(a, b):
return a / b | divide |
Instruction: Write Python code that makes a list of three numbers.
Answer: numbers = [1, 2, 3] <END> | Write Python code that makes a list of three numbers. | numbers = [1, 2, 3] | list_numbers |
Instruction: Write a tiny Python function that adds two numbers.
Answer: def add(a, b):
return a + b <END> | Write a tiny Python function that adds two numbers. | def add(a, b):
return a + b | add |
Instruction: Write a Python loop that prints numbers from 0 to 2.
Answer: for i in range(3):
print(i) <END> | Write a Python loop that prints numbers from 0 to 2. | for i in range(3):
print(i) | loop_range |
Instruction: Write a tiny Python function that divides two numbers.
Answer: def divide(a, b):
return a / b <END> | Write a tiny Python function that divides two numbers. | def divide(a, b):
return a / b | divide |
Instruction: Write a Python loop that prints numbers from 0 to 2.
Answer: for i in range(3):
print(i) <END> | Write a Python loop that prints numbers from 0 to 2. | for i in range(3):
print(i) | loop_range |
Instruction: Write Python code that prints hello.
Answer: print('hello') <END> | Write Python code that prints hello. | print('hello') | print_hello |
Instruction: Write a tiny Python function that divides two numbers.
Answer: def divide(a, b):
return a / b <END> | Write a tiny Python function that divides two numbers. | def divide(a, b):
return a / b | divide |
Instruction: Write a tiny Python function that divides two numbers.
Answer: def divide(a, b):
return a / b <END> | Write a tiny Python function that divides two numbers. | def divide(a, b):
return a / b | divide |
Instruction: Write a Python if statement that checks if x is positive.
Answer: if x > 0:
print('positive') <END> | Write a Python if statement that checks if x is positive. | if x > 0:
print('positive') | if_positive |
Instruction: Write a tiny Python function that subtracts two numbers.
Answer: def subtract(a, b):
return a - b <END> | Write a tiny Python function that subtracts two numbers. | def subtract(a, b):
return a - b | subtract |
Instruction: Write Python code that makes a list of three numbers.
Answer: numbers = [1, 2, 3] <END> | Write Python code that makes a list of three numbers. | numbers = [1, 2, 3] | list_numbers |
Instruction: Write Python code that makes a list of three numbers.
Answer: numbers = [1, 2, 3] <END> | Write Python code that makes a list of three numbers. | numbers = [1, 2, 3] | list_numbers |
Instruction: Write a tiny Python function that subtracts two numbers.
Answer: def subtract(a, b):
return a - b <END> | Write a tiny Python function that subtracts two numbers. | def subtract(a, b):
return a - b | subtract |
Instruction: Write Python code that makes a list of three numbers.
Answer: numbers = [1, 2, 3] <END> | Write Python code that makes a list of three numbers. | numbers = [1, 2, 3] | list_numbers |
Instruction: Write Python code that prints hello.
Answer: print('hello') <END> | Write Python code that prints hello. | print('hello') | print_hello |
Instruction: Write a tiny Python function that multiplies two numbers.
Answer: def multiply(a, b):
return a * b <END> | Write a tiny Python function that multiplies two numbers. | def multiply(a, b):
return a * b | multiply |
Instruction: Write Python code that makes a list of three numbers.
Answer: numbers = [1, 2, 3] <END> | Write Python code that makes a list of three numbers. | numbers = [1, 2, 3] | list_numbers |
Instruction: Write Python code that makes a list of three numbers.
Answer: numbers = [1, 2, 3] <END> | Write Python code that makes a list of three numbers. | numbers = [1, 2, 3] | list_numbers |
Instruction: Write Python code that makes a list of three numbers.
Answer: numbers = [1, 2, 3] <END> | Write Python code that makes a list of three numbers. | numbers = [1, 2, 3] | list_numbers |
Instruction: Write Python code that prints hello.
Answer: print('hello') <END> | Write Python code that prints hello. | print('hello') | print_hello |
Instruction: Write a Python loop that prints numbers from 0 to 2.
Answer: for i in range(3):
print(i) <END> | Write a Python loop that prints numbers from 0 to 2. | for i in range(3):
print(i) | loop_range |
Instruction: Write a tiny Python function that divides two numbers.
Answer: def divide(a, b):
return a / b <END> | Write a tiny Python function that divides two numbers. | def divide(a, b):
return a / b | divide |
Instruction: Write a tiny Python function that subtracts two numbers.
Answer: def subtract(a, b):
return a - b <END> | Write a tiny Python function that subtracts two numbers. | def subtract(a, b):
return a - b | subtract |
Instruction: Write Python code that makes a list of three numbers.
Answer: numbers = [1, 2, 3] <END> | Write Python code that makes a list of three numbers. | numbers = [1, 2, 3] | list_numbers |
Instruction: Write Python code that prints hello.
Answer: print('hello') <END> | Write Python code that prints hello. | print('hello') | print_hello |
Instruction: Write a Python if statement that checks if x is positive.
Answer: if x > 0:
print('positive') <END> | Write a Python if statement that checks if x is positive. | if x > 0:
print('positive') | if_positive |
Instruction: Write a Python if statement that checks if x is positive.
Answer: if x > 0:
print('positive') <END> | Write a Python if statement that checks if x is positive. | if x > 0:
print('positive') | if_positive |
Instruction: Write a tiny Python function that subtracts two numbers.
Answer: def subtract(a, b):
return a - b <END> | Write a tiny Python function that subtracts two numbers. | def subtract(a, b):
return a - b | subtract |
Instruction: Write Python code that prints hello.
Answer: print('hello') <END> | Write Python code that prints hello. | print('hello') | print_hello |
Instruction: Write a tiny Python function that subtracts two numbers.
Answer: def subtract(a, b):
return a - b <END> | Write a tiny Python function that subtracts two numbers. | def subtract(a, b):
return a - b | subtract |
Instruction: Write a Python loop that prints numbers from 0 to 2.
Answer: for i in range(3):
print(i) <END> | Write a Python loop that prints numbers from 0 to 2. | for i in range(3):
print(i) | loop_range |
Instruction: Write a Python if statement that checks if x is positive.
Answer: if x > 0:
print('positive') <END> | Write a Python if statement that checks if x is positive. | if x > 0:
print('positive') | if_positive |
Instruction: Write Python code that makes a list of three numbers.
Answer: numbers = [1, 2, 3] <END> | Write Python code that makes a list of three numbers. | numbers = [1, 2, 3] | list_numbers |
Instruction: Write a tiny Python function that multiplies two numbers.
Answer: def multiply(a, b):
return a * b <END> | Write a tiny Python function that multiplies two numbers. | def multiply(a, b):
return a * b | multiply |
Instruction: Write a Python if statement that checks if x is positive.
Answer: if x > 0:
print('positive') <END> | Write a Python if statement that checks if x is positive. | if x > 0:
print('positive') | if_positive |
Instruction: Write Python code that makes a list of three numbers.
Answer: numbers = [1, 2, 3] <END> | Write Python code that makes a list of three numbers. | numbers = [1, 2, 3] | list_numbers |
Instruction: Write a tiny Python function that divides two numbers.
Answer: def divide(a, b):
return a / b <END> | Write a tiny Python function that divides two numbers. | def divide(a, b):
return a / b | divide |
Instruction: Write a tiny Python function that subtracts two numbers.
Answer: def subtract(a, b):
return a - b <END> | Write a tiny Python function that subtracts two numbers. | def subtract(a, b):
return a - b | subtract |
Instruction: Write a tiny Python function that subtracts two numbers.
Answer: def subtract(a, b):
return a - b <END> | Write a tiny Python function that subtracts two numbers. | def subtract(a, b):
return a - b | subtract |
Instruction: Write a tiny Python function that subtracts two numbers.
Answer: def subtract(a, b):
return a - b <END> | Write a tiny Python function that subtracts two numbers. | def subtract(a, b):
return a - b | subtract |
Instruction: Write a Python loop that prints numbers from 0 to 2.
Answer: for i in range(3):
print(i) <END> | Write a Python loop that prints numbers from 0 to 2. | for i in range(3):
print(i) | loop_range |
Instruction: Write Python code that makes a list of three numbers.
Answer: numbers = [1, 2, 3] <END> | Write Python code that makes a list of three numbers. | numbers = [1, 2, 3] | list_numbers |
Instruction: Write a Python if statement that checks if x is positive.
Answer: if x > 0:
print('positive') <END> | Write a Python if statement that checks if x is positive. | if x > 0:
print('positive') | if_positive |
Instruction: Write a tiny Python function that subtracts two numbers.
Answer: def subtract(a, b):
return a - b <END> | Write a tiny Python function that subtracts two numbers. | def subtract(a, b):
return a - b | subtract |
Instruction: Write a tiny Python function that subtracts two numbers.
Answer: def subtract(a, b):
return a - b <END> | Write a tiny Python function that subtracts two numbers. | def subtract(a, b):
return a - b | subtract |
Instruction: Write a tiny Python function that divides two numbers.
Answer: def divide(a, b):
return a / b <END> | Write a tiny Python function that divides two numbers. | def divide(a, b):
return a / b | divide |
Instruction: Write Python code that makes a list of three numbers.
Answer: numbers = [1, 2, 3] <END> | Write Python code that makes a list of three numbers. | numbers = [1, 2, 3] | list_numbers |
Instruction: Write a tiny Python function that subtracts two numbers.
Answer: def subtract(a, b):
return a - b <END> | Write a tiny Python function that subtracts two numbers. | def subtract(a, b):
return a - b | subtract |
Instruction: Write Python code that prints hello.
Answer: print('hello') <END> | Write Python code that prints hello. | print('hello') | print_hello |
Instruction: Write a tiny Python function that subtracts two numbers.
Answer: def subtract(a, b):
return a - b <END> | Write a tiny Python function that subtracts two numbers. | def subtract(a, b):
return a - b | subtract |
Instruction: Write a tiny Python function that multiplies two numbers.
Answer: def multiply(a, b):
return a * b <END> | Write a tiny Python function that multiplies two numbers. | def multiply(a, b):
return a * b | multiply |
Instruction: Write a tiny Python function that divides two numbers.
Answer: def divide(a, b):
return a / b <END> | Write a tiny Python function that divides two numbers. | def divide(a, b):
return a / b | divide |
Instruction: Write a tiny Python function that multiplies two numbers.
Answer: def multiply(a, b):
return a * b <END> | Write a tiny Python function that multiplies two numbers. | def multiply(a, b):
return a * b | multiply |
Instruction: Write a tiny Python function that subtracts two numbers.
Answer: def subtract(a, b):
return a - b <END> | Write a tiny Python function that subtracts two numbers. | def subtract(a, b):
return a - b | subtract |
Instruction: Write a tiny Python function that subtracts two numbers.
Answer: def subtract(a, b):
return a - b <END> | Write a tiny Python function that subtracts two numbers. | def subtract(a, b):
return a - b | subtract |
Instruction: Write Python code that makes a list of three numbers.
Answer: numbers = [1, 2, 3] <END> | Write Python code that makes a list of three numbers. | numbers = [1, 2, 3] | list_numbers |
Instruction: Write a tiny Python function that adds two numbers.
Answer: def add(a, b):
return a + b <END> | Write a tiny Python function that adds two numbers. | def add(a, b):
return a + b | add |
Instruction: Write a Python if statement that checks if x is positive.
Answer: if x > 0:
print('positive') <END> | Write a Python if statement that checks if x is positive. | if x > 0:
print('positive') | if_positive |
Instruction: Write a Python if statement that checks if x is positive.
Answer: if x > 0:
print('positive') <END> | Write a Python if statement that checks if x is positive. | if x > 0:
print('positive') | if_positive |
Instruction: Write a Python loop that prints numbers from 0 to 2.
Answer: for i in range(3):
print(i) <END> | Write a Python loop that prints numbers from 0 to 2. | for i in range(3):
print(i) | loop_range |
Instruction: Write a Python loop that prints numbers from 0 to 2.
Answer: for i in range(3):
print(i) <END> | Write a Python loop that prints numbers from 0 to 2. | for i in range(3):
print(i) | loop_range |
Instruction: Write a Python loop that prints numbers from 0 to 2.
Answer: for i in range(3):
print(i) <END> | Write a Python loop that prints numbers from 0 to 2. | for i in range(3):
print(i) | loop_range |
Instruction: Write Python code that makes a list of three numbers.
Answer: numbers = [1, 2, 3] <END> | Write Python code that makes a list of three numbers. | numbers = [1, 2, 3] | list_numbers |
Instruction: Write a tiny Python function that multiplies two numbers.
Answer: def multiply(a, b):
return a * b <END> | Write a tiny Python function that multiplies two numbers. | def multiply(a, b):
return a * b | multiply |
Instruction: Write Python code that prints hello.
Answer: print('hello') <END> | Write Python code that prints hello. | print('hello') | print_hello |
Instruction: Write a Python loop that prints numbers from 0 to 2.
Answer: for i in range(3):
print(i) <END> | Write a Python loop that prints numbers from 0 to 2. | for i in range(3):
print(i) | loop_range |
Instruction: Write Python code that prints hello.
Answer: print('hello') <END> | Write Python code that prints hello. | print('hello') | print_hello |
Instruction: Write a Python if statement that checks if x is positive.
Answer: if x > 0:
print('positive') <END> | Write a Python if statement that checks if x is positive. | if x > 0:
print('positive') | if_positive |
Instruction: Write a tiny Python function that subtracts two numbers.
Answer: def subtract(a, b):
return a - b <END> | Write a tiny Python function that subtracts two numbers. | def subtract(a, b):
return a - b | subtract |
Instruction: Write Python code that makes a list of three numbers.
Answer: numbers = [1, 2, 3] <END> | Write Python code that makes a list of three numbers. | numbers = [1, 2, 3] | list_numbers |
Instruction: Write a Python if statement that checks if x is positive.
Answer: if x > 0:
print('positive') <END> | Write a Python if statement that checks if x is positive. | if x > 0:
print('positive') | if_positive |
Instruction: Write a tiny Python function that multiplies two numbers.
Answer: def multiply(a, b):
return a * b <END> | Write a tiny Python function that multiplies two numbers. | def multiply(a, b):
return a * b | multiply |
Instruction: Write a tiny Python function that adds two numbers.
Answer: def add(a, b):
return a + b <END> | Write a tiny Python function that adds two numbers. | def add(a, b):
return a + b | add |
Instruction: Write a tiny Python function that multiplies two numbers.
Answer: def multiply(a, b):
return a * b <END> | Write a tiny Python function that multiplies two numbers. | def multiply(a, b):
return a * b | multiply |
Instruction: Write Python code that makes a list of three numbers.
Answer: numbers = [1, 2, 3] <END> | Write Python code that makes a list of three numbers. | numbers = [1, 2, 3] | list_numbers |
Instruction: Write a Python loop that prints numbers from 0 to 2.
Answer: for i in range(3):
print(i) <END> | Write a Python loop that prints numbers from 0 to 2. | for i in range(3):
print(i) | loop_range |
Instruction: Write a Python if statement that checks if x is positive.
Answer: if x > 0:
print('positive') <END> | Write a Python if statement that checks if x is positive. | if x > 0:
print('positive') | if_positive |
End of preview. Expand in Data Studio
YAML Metadata Warning:empty or missing yaml metadata in repo card
Check out the documentation for more information.
- Downloads last month
- 71