instruction stringclasses 13
values | input stringlengths 0 23 | output stringlengths 6 105 | category stringclasses 3
values |
|---|---|---|---|
Calculate the number of characters in the text. | data science | The text contains 12 characters. | string |
Convert the following text to lowercase. | artificial intelligence | artificial intelligence | string |
Convert the following text to uppercase. | deep learning | DEEP LEARNING | string |
Explain a Python function. | A Python function is a reusable block of code defined with the def keyword. | python | |
Calculate the difference between two numbers. | 32 - 64 | The answer is -32. | math |
Convert the following text to uppercase. | python | PYTHON | string |
Explain what a Python list is. | A Python list is an ordered, mutable collection that can contain multiple values. | python | |
Explain a Python function. | A Python function is a reusable block of code defined with the def keyword. | python | |
Calculate the number of characters in the text. | deep learning | The text contains 13 characters. | string |
Convert the following text to lowercase. | artificial intelligence | artificial intelligence | string |
Calculate the difference between two numbers. | 29 - 81 | The answer is -52. | 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 a Python function. | A Python function is a reusable block of code defined with the def keyword. | python | |
Convert the following text to uppercase. | data science | DATA SCIENCE | string |
Explain a Python class. | A Python class is a blueprint for creating objects that contain attributes and methods. | python | |
Convert the following text to uppercase. | python | PYTHON | 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 | |
Convert the following text to uppercase. | deep learning | DEEP LEARNING | string |
Explain inheritance in Python. | Inheritance allows a class to reuse attributes and methods from another class. | python | |
Calculate the product of two numbers. | 51 * 22 | The answer is 1122. | math |
Calculate the difference between two numbers. | 72 - 55 | The answer is 17. | math |
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 | |
Calculate the product of two numbers. | 99 * 49 | The answer is 4851. | math |
Calculate the product of two numbers. | 32 * 25 | The answer is 800. | math |
Convert the following text to lowercase. | machine learning | machine learning | string |
Convert the following text to lowercase. | deep learning | deep learning | 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 | |
Convert the following text to uppercase. | deep learning | DEEP LEARNING | string |
Calculate the sum of two numbers. | 48 + 74 | The answer is 122. | 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 | |
Convert the following text to uppercase. | data science | DATA SCIENCE | string |
Calculate the sum of two numbers. | 50 + 81 | The answer is 131. | math |
Explain what a Python list is. | A Python list is an ordered, mutable collection that can contain multiple values. | python | |
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. | 6 - 43 | The answer is -37. | math |
Convert the following text to uppercase. | deep learning | DEEP LEARNING | string |
Calculate the sum of two numbers. | 17 + 80 | The answer is 97. | math |
Convert the following text to uppercase. | hugging face | HUGGING FACE | string |
Explain a Python function. | A Python function is a reusable block of code defined with the def keyword. | python | |
Calculate the product of two numbers. | 7 * 64 | The answer is 448. | math |
Calculate the difference between two numbers. | 33 - 30 | The answer is 3. | math |
Calculate the number of characters in the text. | deep learning | The text contains 13 characters. | string |
Calculate the sum of two numbers. | 37 + 41 | The answer is 78. | math |
Calculate the sum of two numbers. | 29 + 8 | The answer is 37. | math |
Explain inheritance in Python. | Inheritance allows a class to reuse attributes and methods from another class. | 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 number of characters in the text. | python | The text contains 6 characters. | string |
Calculate the difference between two numbers. | 74 - 91 | The answer is -17. | 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 difference between two numbers. | 7 - 68 | The answer is -61. | math |
Explain inheritance in Python. | Inheritance allows a class to reuse attributes and methods from another class. | 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 number of characters in the text. | data science | The text contains 12 characters. | string |
Calculate the sum of two numbers. | 59 + 60 | The answer is 119. | math |
Convert the following text to lowercase. | machine learning | machine learning | string |
Convert the following text to uppercase. | artificial intelligence | ARTIFICIAL INTELLIGENCE | string |
Calculate the difference between two numbers. | 88 - 29 | The answer is 59. | math |
Explain inheritance in Python. | Inheritance allows a class to reuse attributes and methods from another class. | python | |
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 what a Python list is. | A Python list is an ordered, mutable collection that can contain multiple values. | python | |
Convert the following text to lowercase. | deep learning | deep learning | string |
Explain inheritance in Python. | Inheritance allows a class to reuse attributes and methods from another class. | python | |
Calculate the product of two numbers. | 6 * 66 | The answer is 396. | math |
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 |
Convert the following text to uppercase. | artificial intelligence | ARTIFICIAL INTELLIGENCE | string |
Calculate the sum of two numbers. | 52 + 32 | The answer is 84. | math |
Explain inheritance in Python. | Inheritance allows a class to reuse attributes and methods from another class. | python | |
Calculate the difference between two numbers. | 11 - 18 | The answer is -7. | math |
Convert the following text to lowercase. | hugging face | hugging face | string |
Calculate the product of two numbers. | 5 * 65 | The answer is 325. | math |
Calculate the sum of two numbers. | 96 + 48 | The answer is 144. | math |
Explain what a Python list is. | A Python list is an ordered, mutable collection that can contain multiple values. | python | |
Convert the following text to uppercase. | artificial intelligence | ARTIFICIAL INTELLIGENCE | string |
Calculate the number of characters in the text. | deep learning | The text contains 13 characters. | string |
Calculate the product of two numbers. | 28 * 99 | The answer is 2772. | math |
Convert the following text to lowercase. | python | python | string |
Calculate the sum of two numbers. | 10 + 33 | The answer is 43. | math |
Explain a Python function. | A Python function is a reusable block of code defined with the def keyword. | python | |
Calculate the sum of two numbers. | 87 + 62 | The answer is 149. | math |
Convert the following text to uppercase. | artificial intelligence | ARTIFICIAL INTELLIGENCE | string |
Calculate the sum of two numbers. | 5 + 22 | The answer is 27. | math |
Calculate the difference between two numbers. | 57 - 70 | The answer is -13. | 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 | |
Convert the following text to uppercase. | hugging face | HUGGING FACE | string |
Calculate the sum of two numbers. | 24 + 38 | The answer is 62. | math |
Calculate the number of characters in the text. | machine learning | The text contains 16 characters. | string |
Calculate the difference between two numbers. | 12 - 86 | The answer is -74. | math |
Convert the following text to uppercase. | machine learning | MACHINE LEARNING | string |
Convert the following text to uppercase. | machine learning | MACHINE LEARNING | string |
Explain a Python function. | A Python function is a reusable block of code defined with the def keyword. | python | |
Convert the following text to uppercase. | deep learning | DEEP LEARNING | string |
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 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 | |
Explain what a Python dictionary is. | A Python dictionary stores data as key-value pairs. It is mutable and keys must be hashable. | python |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.