instruction stringclasses 13
values | input stringlengths 0 23 | output stringlengths 6 105 | category stringclasses 3
values |
|---|---|---|---|
Convert the following text to uppercase. | machine learning | MACHINE LEARNING | string |
Calculate the difference between two numbers. | 35 - 92 | The answer is -57. | math |
Explain polymorphism in Python. | Polymorphism allows objects of different classes to respond to the same method interface. | python | |
Explain polymorphism in Python. | Polymorphism allows objects of different classes to respond to the same method interface. | python | |
Explain what a Python list is. | A Python list is an ordered, mutable collection that can contain multiple values. | python | |
Explain polymorphism in Python. | Polymorphism allows objects of different classes to respond to the same method interface. | python | |
Calculate the difference between two numbers. | 50 - 43 | The answer is 7. | math |
Convert the following text to uppercase. | artificial intelligence | ARTIFICIAL INTELLIGENCE | string |
Calculate the difference between two numbers. | 56 - 1 | The answer is 55. | math |
Calculate the difference between two numbers. | 42 - 32 | The answer is 10. | math |
Convert the following text to uppercase. | data science | DATA SCIENCE | string |
What does self mean in Python? | self refers to the current instance of a class. It allows instance methods to access instance attributes. | python | |
Explain inheritance in Python. | Inheritance allows a class to reuse attributes and methods from another class. | python | |
Calculate the difference between two numbers. | 67 - 5 | The answer is 62. | math |
Calculate the sum of two numbers. | 9 + 70 | The answer is 79. | math |
Calculate the number of characters in the text. | hugging face | The text contains 12 characters. | string |
Calculate the difference between two numbers. | 88 - 80 | The answer is 8. | math |
Convert the following text to lowercase. | python | python | string |
Explain what a Python dictionary is. | A Python dictionary stores data as key-value pairs. It is mutable and keys must be hashable. | python | |
Calculate the number of characters in the text. | data science | The text contains 12 characters. | string |
Explain what a Python dictionary is. | A Python dictionary stores data as key-value pairs. It is mutable and keys must be hashable. | python | |
Calculate the product of two numbers. | 88 * 53 | The answer is 4664. | math |
Explain what a Python dictionary is. | A Python dictionary stores data as key-value pairs. It is mutable and keys must be hashable. | python | |
Calculate the number of characters in the text. | deep learning | The text contains 13 characters. | string |
Explain what a Python dictionary is. | A Python dictionary stores data as key-value pairs. It is mutable and keys must be hashable. | python | |
Calculate the number of characters in the text. | hugging face | The text contains 12 characters. | string |
Explain inheritance in Python. | Inheritance allows a class to reuse attributes and methods from another class. | python | |
Calculate the product of two numbers. | 45 * 13 | The answer is 585. | math |
What does self mean in Python? | self refers to the current instance of a class. It allows instance methods to access instance attributes. | python | |
Explain inheritance in Python. | Inheritance allows a class to reuse attributes and methods from another class. | python | |
Calculate the number of characters in the text. | artificial intelligence | The text contains 23 characters. | string |
Calculate the sum of two numbers. | 3 + 30 | The answer is 33. | math |
Explain a Python function. | A Python function is a reusable block of code defined with the def keyword. | python | |
Convert the following text to lowercase. | artificial intelligence | artificial intelligence | string |
Explain what a Python list is. | A Python list is an ordered, mutable collection that can contain multiple values. | python | |
Explain what a Python dictionary is. | A Python dictionary stores data as key-value pairs. It is mutable and keys must be hashable. | python | |
Calculate the sum of two numbers. | 89 + 60 | The answer is 149. | math |
Calculate the product of two numbers. | 62 * 45 | The answer is 2790. | math |
Convert the following text to lowercase. | hugging face | hugging face | string |
Calculate the sum of two numbers. | 9 + 93 | The answer is 102. | math |
Convert the following text to lowercase. | data science | data science | string |
Explain what a Python dictionary is. | A Python dictionary stores data as key-value pairs. It is mutable and keys must be hashable. | python | |
Calculate the number of characters in the text. | artificial intelligence | The text contains 23 characters. | string |
Calculate the difference between two numbers. | 77 - 27 | The answer is 50. | math |
Convert the following text to lowercase. | machine learning | machine learning | string |
Calculate the difference between two numbers. | 94 - 66 | The answer is 28. | math |
Calculate the product of two numbers. | 19 * 3 | The answer is 57. | math |
Explain what a Python dictionary is. | A Python dictionary stores data as key-value pairs. It is mutable and keys must be hashable. | python | |
Calculate the sum of two numbers. | 11 + 74 | The answer is 85. | math |
Calculate the product of two numbers. | 17 * 10 | The answer is 170. | math |
Calculate the product of two numbers. | 87 * 81 | The answer is 7047. | math |
Calculate the sum of two numbers. | 52 + 79 | The answer is 131. | math |
Explain inheritance in Python. | Inheritance allows a class to reuse attributes and methods from another class. | python | |
Calculate the sum of two numbers. | 79 + 71 | The answer is 150. | math |
Calculate the number of characters in the text. | python | The text contains 6 characters. | string |
What does self mean in Python? | self refers to the current instance of a class. It allows instance methods to access instance attributes. | python | |
Explain a Python function. | A Python function is a reusable block of code defined with the def keyword. | python | |
Explain polymorphism in Python. | Polymorphism allows objects of different classes to respond to the same method interface. | python | |
Calculate the number of characters in the text. | python | The text contains 6 characters. | string |
Explain what a Python list is. | A Python list is an ordered, mutable collection that can contain multiple values. | python | |
Calculate the sum of two numbers. | 82 + 15 | The answer is 97. | math |
Calculate the product of two numbers. | 87 * 40 | The answer is 3480. | math |
Calculate the product of two numbers. | 48 * 54 | The answer is 2592. | math |
Calculate the number of characters in the text. | machine learning | The text contains 16 characters. | string |
Explain what a Python dictionary is. | A Python dictionary stores data as key-value pairs. It is mutable and keys must be hashable. | python | |
Explain polymorphism in Python. | Polymorphism allows objects of different classes to respond to the same method interface. | python | |
Calculate the difference between two numbers. | 69 - 21 | The answer is 48. | math |
Explain a Python function. | A Python function is a reusable block of code defined with the def keyword. | python | |
Explain a Python function. | A Python function is a reusable block of code defined with the def keyword. | python | |
Explain inheritance in Python. | Inheritance allows a class to reuse attributes and methods from another class. | python | |
Calculate the product of two numbers. | 88 * 81 | The answer is 7128. | math |
Calculate the difference between two numbers. | 10 - 95 | The answer is -85. | math |
Calculate the difference between two numbers. | 85 - 96 | The answer is -11. | math |
Explain inheritance in Python. | Inheritance allows a class to reuse attributes and methods from another class. | python | |
Calculate the product of two numbers. | 6 * 62 | The answer is 372. | math |
Explain inheritance in Python. | Inheritance allows a class to reuse attributes and methods from another class. | python | |
Convert the following text to lowercase. | deep learning | deep learning | string |
Explain a Python class. | A Python class is a blueprint for creating objects that contain attributes and methods. | python | |
Calculate the sum of two numbers. | 99 + 88 | The answer is 187. | math |
Calculate the sum of two numbers. | 22 + 86 | The answer is 108. | math |
Calculate the number of characters in the text. | hugging face | The text contains 12 characters. | string |
Calculate the product of two numbers. | 5 * 37 | The answer is 185. | math |
Convert the following text to uppercase. | deep learning | DEEP LEARNING | string |
Convert the following text to lowercase. | data science | data science | string |
Convert the following text to lowercase. | machine learning | machine learning | string |
Calculate the number of characters in the text. | data science | The text contains 12 characters. | string |
Explain what a Python list is. | A Python list is an ordered, mutable collection that can contain multiple values. | python | |
Calculate the product of two numbers. | 59 * 88 | The answer is 5192. | math |
Convert the following text to uppercase. | hugging face | HUGGING FACE | string |
Explain what a Python list is. | A Python list is an ordered, mutable collection that can contain multiple values. | python | |
Calculate the difference between two numbers. | 78 - 4 | The answer is 74. | math |
Explain a Python class. | A Python class is a blueprint for creating objects that contain attributes and methods. | python | |
Explain what a Python dictionary is. | A Python dictionary stores data as key-value pairs. It is mutable and keys must be hashable. | python | |
Explain inheritance in Python. | Inheritance allows a class to reuse attributes and methods from another class. | python | |
Explain a Python function. | A Python function is a reusable block of code defined with the def keyword. | python | |
Explain a Python class. | A Python class is a blueprint for creating objects that contain attributes and methods. | python | |
Calculate the number of characters in the text. | deep learning | The text contains 13 characters. | string |
Calculate the sum of two numbers. | 20 + 40 | The answer is 60. | math |
Calculate the difference between two numbers. | 91 - 94 | The answer is -3. | math |
Explain polymorphism in Python. | Polymorphism allows objects of different classes to respond to the same method interface. | python |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.