instruction stringclasses 13
values | input stringlengths 0 23 | output stringlengths 6 105 | category stringclasses 3
values |
|---|---|---|---|
Convert the following text to uppercase. | deep learning | DEEP 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 uppercase. | artificial intelligence | ARTIFICIAL INTELLIGENCE | string |
Explain a Python class. | A Python class is a blueprint for creating objects that contain attributes and methods. | python | |
Calculate the difference between two numbers. | 45 - 18 | The answer is 27. | 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 | |
Convert the following text to lowercase. | hugging face | hugging face | 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 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 sum of two numbers. | 84 + 4 | The answer is 88. | 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 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. | data science | DATA SCIENCE | string |
Convert the following text to lowercase. | data science | data science | string |
Calculate the number of characters in the text. | hugging face | 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 | |
Convert the following text to lowercase. | hugging face | hugging face | 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 | |
Explain a Python class. | A Python class is a blueprint for creating objects that contain attributes and methods. | python | |
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. | machine learning | The text contains 16 characters. | string |
Calculate the number of characters in the text. | deep learning | The text contains 13 characters. | string |
Calculate the number of characters in the text. | deep learning | The text contains 13 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. | data science | The text contains 12 characters. | string |
Calculate the product of two numbers. | 87 * 97 | The answer is 8439. | math |
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 difference between two numbers. | 49 - 9 | The answer is 40. | math |
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 | |
Convert the following text to uppercase. | data science | DATA SCIENCE | string |
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 | |
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 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 product of two numbers. | 91 * 4 | The answer is 364. | math |
Calculate the sum of two numbers. | 4 + 66 | The answer is 70. | math |
Calculate the product of two numbers. | 45 * 8 | The answer is 360. | math |
Calculate the number of characters in the text. | machine learning | The text contains 16 characters. | string |
Calculate the sum of two numbers. | 65 + 45 | The answer is 110. | math |
Convert the following text to lowercase. | data science | data science | string |
Calculate the number of characters in the text. | artificial intelligence | The text contains 23 characters. | string |
Calculate the number of characters in the text. | deep learning | The text contains 13 characters. | string |
Convert the following text to lowercase. | machine learning | machine learning | 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 |
Calculate the sum of two numbers. | 9 + 62 | The answer is 71. | math |
Calculate the number of characters in the text. | deep learning | The text contains 13 characters. | string |
Calculate the number of characters in the text. | hugging face | The text contains 12 characters. | string |
Convert the following text to uppercase. | python | PYTHON | string |
Calculate the sum of two numbers. | 75 + 57 | The answer is 132. | 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 | |
Calculate the product of two numbers. | 90 * 17 | The answer is 1530. | math |
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. | 93 + 81 | The answer is 174. | math |
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 | |
Convert the following text to uppercase. | hugging face | HUGGING FACE | string |
Calculate the sum of two numbers. | 45 + 3 | The answer is 48. | 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 uppercase. | deep learning | DEEP 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 uppercase. | python | PYTHON | string |
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 | |
Convert the following text to uppercase. | machine learning | MACHINE LEARNING | string |
Calculate the difference between two numbers. | 65 - 81 | The answer is -16. | 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 | |
Calculate the sum of two numbers. | 69 + 64 | The answer is 133. | math |
Convert the following text to uppercase. | hugging face | HUGGING FACE | string |
Calculate the number of characters in the text. | data science | The text contains 12 characters. | string |
Calculate the sum of two numbers. | 69 + 24 | The answer is 93. | math |
Calculate the number of characters in the text. | artificial intelligence | The text contains 23 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 sum of two numbers. | 46 + 46 | The answer is 92. | math |
Calculate the number of characters in the text. | python | The text contains 6 characters. | string |
Calculate the difference between two numbers. | 25 - 30 | The answer is -5. | math |
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. | 31 - 99 | The answer is -68. | math |
Calculate the product of two numbers. | 43 * 68 | The answer is 2924. | math |
Calculate the difference between two numbers. | 13 - 62 | The answer is -49. | 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 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. | artificial intelligence | artificial intelligence | string |
Calculate the product of two numbers. | 55 * 74 | The answer is 4070. | math |
Calculate the product of two numbers. | 27 * 72 | The answer is 1944. | math |
Convert the following text to lowercase. | data science | data science | string |
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. | 73 + 63 | The answer is 136. | math |
Convert the following text to lowercase. | deep learning | deep learning | string |
Calculate the difference between two numbers. | 75 - 49 | The answer is 26. | math |
Explain a Python function. | A Python function is a reusable block of code defined with the def keyword. | python |
End of preview. Expand in Data Studio
README.md exists but content is empty.
- Downloads last month
- 24