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 |
Explain polymorphism in Python. | Polymorphism allows objects of different classes to respond to the same method interface. | python | |
Convert the following text to lowercase. | artificial intelligence | artificial intelligence | 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 a Python function. | A Python function is a reusable block of code defined with the def keyword. | python | |
Convert the following text to uppercase. | hugging face | HUGGING FACE | string |
Calculate the sum of two numbers. | 31 + 42 | The answer is 73. | math |
Convert the following text to lowercase. | artificial intelligence | artificial intelligence | string |
Calculate the sum of two numbers. | 31 + 89 | The answer is 120. | math |
Convert the following text to uppercase. | deep learning | DEEP LEARNING | string |
Calculate the difference between two numbers. | 60 - 63 | The answer is -3. | math |
Calculate the sum of two numbers. | 60 + 51 | The answer is 111. | math |
Calculate the number of characters in the text. | deep learning | The text contains 13 characters. | string |
Convert the following text to lowercase. | deep learning | deep learning | 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 | |
Calculate the sum of two numbers. | 32 + 69 | The answer is 101. | 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 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 |
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 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. | 5 * 48 | The answer is 240. | math |
Calculate the sum of two numbers. | 45 + 18 | The answer is 63. | math |
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. | 64 - 88 | The answer is -24. | math |
Calculate the difference between two numbers. | 89 - 54 | The answer is 35. | math |
Calculate the product of two numbers. | 77 * 7 | The answer is 539. | math |
Calculate the product of two numbers. | 29 * 61 | The answer is 1769. | math |
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 | |
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. | 3 + 7 | The answer is 10. | math |
Calculate the number of characters in the text. | artificial intelligence | The text contains 23 characters. | string |
Calculate the sum of two numbers. | 69 + 43 | The answer is 112. | math |
Convert the following text to uppercase. | python | PYTHON | string |
Convert the following text to uppercase. | hugging face | HUGGING FACE | string |
Calculate the difference between two numbers. | 55 - 49 | The answer is 6. | math |
Convert the following text to uppercase. | deep learning | DEEP LEARNING | string |
Calculate the number of characters in the text. | machine learning | The text contains 16 characters. | string |
Explain what a Python list is. | A Python list is an ordered, mutable collection that can contain multiple values. | python | |
Calculate the number of characters in the text. | hugging face | The text contains 12 characters. | string |
Calculate the number of characters in the text. | hugging face | 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 | |
Convert the following text to uppercase. | python | PYTHON | string |
Calculate the product of two numbers. | 34 * 33 | The answer is 1122. | math |
Explain a Python class. | A Python class is a blueprint for creating objects that contain attributes and methods. | 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 lowercase. | 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 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. | 40 * 73 | The answer is 2920. | 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 | |
Convert the following text to lowercase. | data science | data science | string |
Calculate the number of characters in the text. | deep learning | The text contains 13 characters. | string |
Calculate the sum of two numbers. | 57 + 31 | The answer is 88. | math |
Calculate the sum of two numbers. | 59 + 23 | The answer is 82. | math |
Convert the following text to lowercase. | artificial intelligence | artificial intelligence | 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 | |
Calculate the number of characters in the text. | machine learning | The text contains 16 characters. | string |
Convert the following text to uppercase. | artificial intelligence | ARTIFICIAL INTELLIGENCE | string |
Explain polymorphism in Python. | Polymorphism allows objects of different classes to respond to the same method interface. | python | |
Convert the following text to uppercase. | deep learning | DEEP LEARNING | string |
Calculate the product of two numbers. | 61 * 21 | The answer is 1281. | math |
Explain polymorphism in Python. | Polymorphism allows objects of different classes to respond to the same method interface. | python | |
Calculate the sum of two numbers. | 37 + 51 | The answer is 88. | math |
Explain a Python class. | A Python class is a blueprint for creating objects that contain attributes and methods. | python | |
Calculate the product of two numbers. | 88 * 61 | The answer is 5368. | math |
Calculate the difference between two numbers. | 51 - 90 | The answer is -39. | math |
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 | |
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 | |
Calculate the product of two numbers. | 42 * 81 | The answer is 3402. | 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 | |
What does self mean in Python? | self refers to the current instance of a class. It allows instance methods to access instance attributes. | python | |
Calculate the number of characters in the text. | machine learning | The text contains 16 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 | |
Calculate the number of characters in the text. | artificial intelligence | The text contains 23 characters. | string |
Calculate the product of two numbers. | 32 * 45 | The answer is 1440. | math |
Calculate the sum of two numbers. | 8 + 47 | The answer is 55. | math |
Calculate the number of characters in the text. | python | The text contains 6 characters. | string |
Convert the following text to lowercase. | python | python | string |
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. | machine learning | The text contains 16 characters. | string |
Calculate the product of two numbers. | 19 * 78 | The answer is 1482. | math |
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. | 2 + 65 | The answer is 67. | math |
Calculate the product of two numbers. | 30 * 42 | The answer is 1260. | math |
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 |
Calculate the sum of two numbers. | 9 + 15 | The answer is 24. | 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 product of two numbers. | 56 * 20 | The answer is 1120. | math |
Calculate the sum of two numbers. | 73 + 73 | The answer is 146. | math |
Calculate the product of two numbers. | 81 * 15 | The answer is 1215. | math |
Calculate the number of characters in the text. | hugging face | The text contains 12 characters. | string |
Convert the following text to uppercase. | machine learning | MACHINE LEARNING | string |
Convert the following text to uppercase. | data science | DATA SCIENCE | string |
Calculate the difference between two numbers. | 30 - 51 | The answer is -21. | math |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.