instruction stringlengths 2 259 ⌀ | input stringlengths 0 442 ⌀ | output stringlengths 1 1.9k ⌀ | text stringlengths 273 2.08k ⌀ |
|---|---|---|---|
Napiš SQL: vyber 17 nejnovějších objednávek z tabulky orders. | ```sql SELECT * FROM orders ORDER BY created_at DESC LIMIT 17; ``` | null | |
Proč tento kód padá? ```python import json json.loads("{a:1}") ``` | JSON vyžaduje uvozovky u klíčů: `json.loads('{"a": 1}')`. | null | |
Write a function in JavaScript to remove all vowels from an input string. | function removeVowels(str) { return str.replace(/[aeiou]/gi, ''); } | null | |
Stručně shrň článek o tématu „Earth, Wind & Fire“ a uveď hlavní fakta. | **Earth, Wind & Fire**
Earth, Wind & Fire je afroamerická R&B hudební skupina, zformovaná v roce 1969 v Chicagu ve státu Illinois. Mezi jejich přezdívky patří Elements of the Universe, či EWF. Skupina byla přijmuta v Rock and Roll Hall of Fame a Vocal Group Hall of Fame . Získali deset Grammy ocenění a čtyři ocenění a... | null | |
Debug this Python code and explain why it was not running. | def string_split(string, n): words = string.split(" ") for x in words[:n]: print(" ".join(words[:x])) | def string_split(string, n): words = string.split(" ") for x in range(n): print(" ".join(words[:x])) The code was not running as initially written because the range used in the for loop was not provided. Inside the for loop, the variable x needed to be given a range (e.g. range(n)) so that it can iterate over each of t... | null |
Design a Bubble Sort algorithm for a list of numbers. | def bubbleSort(arr): n = len(arr) for i in range(n): for j in range(0, n-i-1): if arr[j] > arr[j+1]: arr[j], arr[j+1] = arr[j+1], arr[j] return arr | null | |
Write a Python function `repeat_str` that zopakuje řetězec n-krát. | ```python def repeat_str(s: str, n: int) -> str: return s * n ``` | null | |
Generate valid HTML tags for a two-column table. | <table> <tr> <th> Column 1 </th> <th> Column 2 </th> </tr> <tr> <td> </td> <td> </td> </tr> </table> | null | |
null | null | null | Velká cena Malajsie silničních motocyklů 2008
Velká cena Malajsie silničních motocyklů 2008 se uskutečnila od 17.-19. října, 2008 na okruhu Sepang International Circuit. MotoGP Na jezdce MotoGP čekal předposlední závod sezóny 2008,který se konal v tropické Malajsii. Čekal se opět souboj už osminásobného mistra světa V... |
Write a CSS rule that changes the text color for all headings on a page. | h1, h2, h3, h4, h5, h6 { color: red; } | null | |
Napiš funkci word_count(text) → dict frekvencí slov. | ```python from collections import Counter import re def word_count(text: str) -> dict[str, int]: words = re.findall(r"\w+", text.lower()) return dict(Counter(words)) ``` | null | |
Edit the given code to use dynamic programming to solve the problem. | def rod_cutting(arr, n): if n <= 0: return 0 max_val = 0 for i in range(0, n): max_val = max(max_val, arr[i] + rod_cutting(arr, n-i-1)) return max_val | def rod_cutting(arr, n): dp = [-1 for _ in range(n+1)] dp[0] = 0 for i in range(1, n+1): for j in range(i): dp[i] = max(dp[i], arr[j] + dp[i - j - 1]) return dp[n] | null |
Umíš Rust? Buď upřímný. | Ne. Specializuju se na Python, JavaScript, HTML a PHP. S Rustem ti spolehlivě nepomůžu — zkus oficiální docs nebo někoho, kdo Rust umí. | null | |
What is 20 - 5? | 20 - 5 = 15 | null | |
Summarize key facts about „Orio Mastropiero“ clearly and accurately. | **Orio Mastropiero**
Orio Mastropiero (died 13 June 1192), forename sometimes rendered as Aurio and surname as Malipiero, was a Venetian statesman who served as the Doge of Venice from 1178 to 1192. He was elected by the Council of Forty in 1178 following the retirement of Sebastiano Ziani. Prior to this he had been a... | null | |
Write a SQL query to get the products with the lowest price in each category. | SELECT p1.* FROM products p1 INNER JOIN (SELECT category, MIN(price) AS min_price FROM products GROUP BY category) p2 ON p1.category = p2.category AND p1.price = p2.min_price; | null | |
Summarize key facts about „2013 Kurume Best Amenity Cup – Doubles“ clearly and accurately. | **2013 Kurume Best Amenity Cup – Doubles**
Han Xinyun and Sun Shengnan were the defending champions, having won the event in 2012, but Han chose not to defend her title. Sun partnered up with Hsu Chieh-yu, but withdrew in the semifinals. Kanae Hisami and Mari Tanaka won the title, defeating Rika Fujiwara and Akiko Oma... | null | |
Suggest an additional function needed to complete the following programme. | class Node: def __init__(self, data): self.data = data self.next = None | class Node: def __init__(self, data): self.data = data self.next = None def getData(self): return self.data | null |
null | null | null | Saranam Ayyappa
Saranam Ayyappa is 1980 Indian Tamil-language devotional film, directed and produced by Dasarathan. The film stars Jayabharathi the lead role. It was released on 28 November 1980. Cast Boopathi Raviraj Aboo backer as Inspector Rajakrishna Jayabharathi as Saraswathi Vijayan as Vijay Radha Ravi M. R. Rad... |
Write a query in SQL to show all the details of the customers with age greater than 30. | Table name: customers Fields: name, age | SELECT * FROM customers WHERE age > 30; | null |
null | null | null | Princip nezávislosti pohybů
Princip nezávislosti pohybů zní: Koná-li těleso pohyb složený z více pohybů, pak jeho výsledná poloha je stejná, jako kdyby konalo tyto pohyby postupně. Principu nezávislosti pohybů se využívá při zkoumání složitějších pohybů, protože každý složitější pohyb lze rozložit na jednodušší pohyby... |
Stručně shrň článek o tématu „UTC+04:30“ a uveď hlavní fakta. | **UTC+04:30**
UTC+04:30 je zkratka a identifikátor časového posunu o +4½ hodiny oproti koordinovanému světovému času. Tato zkratka je všeobecně užívána. Výjimečně lze nalézt zkratku D* nebo D'. Zkratka se často chápe ve významu časového pásma s tímto časovým posunem. Tento čas je neobvyklý a jeho řídícím poledníkem je... | null | |
What year is it according to your training? | I was fine-tuned in 2026 (last fine-tune date: 2026-07-23). For the exact current date/time, use the user's clock or tools. | null | |
Make a C++ program to delete a node from a doubly linked list at a given position. | Linked List: 84 -> 13 -> 25 -> 48 -> 50 Position: 3 | void deleteNode(struct Node **head_ref, int position) { if (*head_ref == NULL) return; // Store head node struct Node* temp = *head_ref; // If header is removed if (position == 0) { *head_ref = temp->next; // Change head free(temp); // free old head return; } // Find previous node of the node to be deleted for (int i=0... | null |
Replace all characters in the given string with the given character | string = "Hello World" char = "x" | def replace_chars(string, char): output = "" for c in string: output += char return output replace_chars(string, char) # Output: xxxxx xxxxx | null |
null | null | null | Mr. Eko
Mr. Eko is a fictional character, played by Adewale Akinnuoye-Agbaje on the ABC television series Lost. He is introduced in the second season episode "Adrift" as one of the plane-crash survivors from the plane's tail section. Flashbacks reveal that he became the leader of a gang of guerrillas to save his broth... |
Summarize key facts about „Akademikarbreen“ clearly and accurately. | **Akademikarbreen**
Akademikarbreen (until 1995 spelled Akademikerbreen) is a glacier in Olav V Land at Spitsbergen, Svalbard. It covers an area of about 500 square kilometers and is located east of Backlundtoppen and Svanbergfjellet. The glacier extends from Billefjorden to the eastern coast, and borders to Lomonosov... | null | |
Create an HTML form with one text field and one submit button. | <form> <label for="name">Name:</label> <input type="text" name="name" id="name"> <input type="submit" value="Submit"> </form> | null | |
Spočítej: 14 + 7 = ? | 14 + 7 = 21 | null | |
Provide a syntactically correct C++ function that takes a number and returns a string representation of the number. | std::string intToString(int number){ std::stringstream ss; ss << number; return ss.str(); } | null | |
Modify the code to add a class called Animal that accepts a name and an age as arguments. | class Animal: | class Animal: def __init__(self, name, age): self.name = name self.age = age | null |
What is the data type of the given expression? | expression = 10 + 20 | Integer. | null |
Spočítej: 9 + 9 = ? | 9 + 9 = 18 | null | |
Stručně shrň článek o tématu „Square de la place de la Nation“ a uveď hlavní fakta. | **Square de la place de la Nation**
Square de la place de la Nation je square v Paříži v 12. obvodu. Jeho rozloha činí 6173 m2. Poloha Square se nachází uprostřed kruhového objezdu na náměstí Place de la Nation, po kterém nese své označení. Historie Square vzniklo v roce 1875. Jeho dominantou je monumentální sousoší T... | null | |
Write an SQL query to find all the customers with first names starting with "A" from the customers table. | customers table | SELECT * FROM customers WHERE first_name LIKE 'A%' | null |
Kolik je 22 × 4? | 22 × 4 = 88 | null | |
Design a function to take a URL and return the content of the URL. | import requests def get_content(url): response = requests.get(url) html = response.content return html | null | |
Extend the following code to ensure that the array of numbers is sorted using insertion sort. | arr = [9, 5, 7, 3] | def insertionSort(arr): for i in range(1, len(arr)): temp = arr[i] j = i - 1 while j >= 0 and temp < arr[j]: arr[j + 1] = arr[j] j -= 1 arr[j + 1] = temp | null |
Summarize key facts about „Mirošovice“ clearly and accurately. | **Mirošovice**
Mirošovice is a municipality and village in Prague-East District in the Central Bohemian Region of the Czech Republic. It has about 1,500 inhabitants. Geography Mirošovice is located about southeast of Prague. It lies in the Benešov Uplands. The highest point is at above sea level. History The first wri... | null | |
Stručně shrň článek o tématu „Císařův pekař – Pekařův císař“ a uveď hlavní fakta. | **Císařův pekař – Pekařův císař**
Císařův pekař – Pekařův císař je dvoudílná česká historická komedie režiséra Martina Friče, natočená v roce 1951. Původně film natáčel režisér Jiří Krejčík, po jeho neshodách s Janem Werichem režii brzy převzal Martin Frič. Kromě dvoudílné verze byla z jiných klapek vytvořena i export... | null | |
Construct an algorithm to predict the next 3 days' stock market movements given the stock prices from the past 5 days. | [69.04, 67.07, 68.3, 68.91, 70.09] | def predict_stock_movements(data): # Initialize empty list to store predicted values predictions = [] # Iterate over the given data for i in range(len(data)-2): # Calculate the average of the 5 days avg = sum(data[i:i+3])/3 # Calculate the current and past day market movement curr_mov = data[i+2] - data[i+1] past_mov =... | null |
null | null | null | Julio Sabater
Julio Sabater (18 December 1926 in Ponce, Puerto Rico– 5 February 2003 in New York City, New York) was a Puerto Rican hurdler who competed in the 1948 Summer Olympics. References 1926 births 2003 deaths Puerto Rican male hurdlers Sportspeople from Ponce, Puerto Rico Olympic track and field athletes for P... |
Summarize key facts about „The Flames of Wrath“ clearly and accurately. | **The Flames of Wrath**
The Flames of Wrath, is a 1922 American black-and-white silent crime drama film directed and produced by Maria P. Williams. The film stars Maria P. Williams and Frank Colbert in the lead roles. John Burton, Roxie Mankins and Charles Pearson have supporting roles. The film also the first film ev... | null | |
null | null | null | Mark McLemore
Mark Tremell McLemore (born October 4, 1964) is an American former professional baseball second baseman and utility player in Major League Baseball (MLB). Early years McLemore grew up in Southeast San Diego, where he went to Samuel F. B. Morse High School with Sam Horn. They were coached by Bob Mendoza, ... |
Summarize key facts about „Kenilworth RFC“ clearly and accurately. | **Kenilworth RFC**
Kenilworth Rugby Club is an English rugby union team based in Kenilworth, Warwickshire. The club runs three senior sides, a veterans team and a full set of mini and junior teams. The first XV currently plays in Regional 1 Midlands − a league at level 5 of the English rugby union system. The second X... | null | |
Kolik je 25 - 13? | 25 - 13 = 12 | null | |
Write a stack-based language for a simple calculator that can perform the following tasks: Add, subtract, multiply, and divide integers. | //Reusable "push" and "pop" functions void push(Stack *st, int val) { st->arr[st->top] = val; st->top++; } int pop(Stack *st) { return st->arr[--(st->top)]; } //Functions for performing operations int add(Stack *st) { int x = pop(st); int y = pop(st); return x + y; } int subtract(Stack *st) { int x = pop(st); int y = p... | null | |
Spočítej 15×8 | 15 × 8 = 120 | null | |
Summarize key facts about „Agustí Grau“ clearly and accurately. | **Agustí Grau**
Agustí Grau i Huguet (1893–1964) was a Spanish (Catalan) composer. Grau was born in Alforja, province of Tarragona, and studied with Enric Morera at the Liceu Conservatory of Barcelona. He directed the Orfeó Alforgenc (a choir) between 1912 and 1920 and was active as accountant for the Associació Intim... | null | |
How can we trim a specified amount of characters from the beginning of a string in Python? | def trim_string(string, n): return string[n:] | null | |
Write a few lines of code that prints out a multiplication table up to 12x12. | for (let i = 1; i <= 12; i++) { for (let j = 1; j <= 12; j++) console.log(i + " * " + j + " = " + i*j); console.log("------------------------------"); } | null | |
Given a course consisting of 5 lessons, write a program to display the first lesson. | Lessons = ["Python Basics", "Javascript Basics", "C++ Basics", "Data Structures", "Object-Oriented Programming"] | def display_first_lesson(lessons): print("The first lesson is: " + lessons[0]) Lessons = ["Python Basics", "Javascript Basics", "C++ Basics", "Data Structures", "Object-Oriented Programming"] display_first_lesson(Lessons) | null |
null | null | null | Vladimír Blucha
Vladimír Blucha (* 6. července 1931 Mokré Lazce u Opavy – 20. listopadu 2020) byl český regionální historik, geograf, kronikář, vlastivědný pracovník a pedagog, který napsal řadu článků a několik knih o historii Krnova. Život Německé úřady ve vládním obvodě Opava v Sudetech ho v roce 1938 přejmenovaly ... |
Verify the result of the following algorithm | Array: [3, 2, 1] Algorithm: Sort the array in ascending order | The result of the algorithm is [1, 2, 3]. This can be verified by manually sorting the array in an ascending order. | null |
Summarize key facts about „Pekin Formation“ clearly and accurately. | **Pekin Formation**
The Pekin Formation is a Late Triassic (Carnian) geological formation in North Carolina. The Pekin Formation is specific to the Sanford Sub-Basin of the Deep River Basin of North Carolina, although it may be equivalent to the Stockton Formation of Pennsylvania, New Jersey, and New York. The Pekin F... | null | |
Summarize key facts about „Waingongoro River“ clearly and accurately. | **Waingongoro River**
The Waingongoro River is a river of the Taranaki Region of New Zealand's North Island. It flows initially southeast from the slopes of Taranaki/Mount Egmont and passes through the town of Eltham before veering southwest to meet the Tasman Sea five kilometres west of Hawera, at Ohawe Beach. The No... | null | |
Summarize key facts about „Ballet (music)“ clearly and accurately. | **Ballet (music)**
Ballet as a music form progressed from simply a complement to dance, to a concrete compositional form that often had as much value as the dance that went along with it. The dance form, originating in France during the 17th century, began as a theatrical dance. It was not until the 19th century that ... | null | |
null | null | null | Paulina Constancia
Paulina Constancia (born Maria Paulina Constancia Cornejo Lee) is a Filipino-Canadian artist known for her work on canvas, textiles, and found materials, sometimes incorporating stitching. She is associated with the Paulina Constancia Museum of Naïve art (MoNA). Constancia's art has been exhibited w... |
Create a function to classify the following sentence into "positive" or "negative". | The movie was bad | def classify_sentence(sentence): if "bad" in sentence: return "negative" else: return "positive" # Driver code sentence = "The movie was bad" print("Sentence is classified as:", classify_sentence(sentence)) Output: Sentence is classified as: negative | null |
null | null | null | Andrew C. Vaughn House
The Andrew C. Vaughn House, also known as the McCall House, is a circa 1873 Italianate style house in Franklin, Tennessee. It was listed on the National Register of Historic Places in 1988. When listed the property included two contributing buildings on . According to a 1988 study of Williamson ... |
Create a Java program to print out the number of times a string appears in an array. | array = [“Apple”, “Orange”, “Apple”, “Banana”] String = “Apple” | public class Main { public static void main(String[] args) { String str = "Apple"; String[] array = {"Apple", "Orange", "Apple", "Banana"}; int count = 0; for(int i=0; i<array.length; i++) { if(array[i].equals(str)) { count++; } } System.out.println("Number of times "+str+" appears in the array = "+count); } } | null |
Summarize key facts about „Basil Maclear“ clearly and accurately. | **Basil Maclear**
Basil Maclear (7 April 1881 – 24 May 1915) was an Irish rugby international. He played eleven games for Ireland between 1905 and 1907. Personal life Maclear was the grandson of Sir Thomas Maclear, Her Majesty's Astronomer in Cape Town, South Africa, and one of five sons of a Bedford Doctor, Major Hen... | null | |
Summarize key facts about „Kord Kheyl, Ramsar“ clearly and accurately. | **Kord Kheyl, Ramsar**
Kord Kheyl (, also Romanized as Kord Khīl) is a village in Jennat Rudbar Rural District, in the Central District of Ramsar County, Mazandaran Province, Iran. At the 2006 census, its population was 16, in 5 families. References Populated places in Ramsar County | null | |
Stručně shrň článek o tématu „Agnese Possamaiová“ a uveď hlavní fakta. | **Agnese Possamaiová**
Agnese Possamaiová (* 17. ledna 1953) je bývalá italská atletka, jejíž hlavní disciplínou byl běh na 3000 metrů. Sportovní kariéra V roce 1981 se stala halovou mistryní Evropy v běhu na 1500 metrů. O rok později v Miláně zvítězila na dvojnásobné trati. Při dalším evropském šampionátu v roce 1983... | null | |
Replace the word "apple" with "fruit" in the following sentence. | I want to buy an apple. | I want to buy a fruit. | null |
Summarize key facts about „Thurso River“ clearly and accurately. | **Thurso River**
The Thurso River is a river in northern Fiordland, New Zealand. It rises west of Mount Pembroke and flows westward into the Tasman Sea north of Milford Sound. See also List of rivers of New Zealand References Rivers of Fiordland | null | |
Stručně shrň článek o tématu „Gauč“ a uveď hlavní fakta. | **Gauč**
Gauč (někdy také kauč, couch, sofa, kanape, otoman) je široká spací pohovka sloužící též k posezení. Nachází se nejčastěji v obývacím pokoji a bývá tak široký, že se na něj pohodlně usadí dvě nebo tři osoby. Souležba více osob však typicky na gauči není možná, na rozdíl od rozkládací sedací soupravy. Gauč obv... | null | |
Create a text box containing the given text | Textbox Text: Welcome | <input type="text" value="Welcome" /> | null |
Given a list of numbers, find the number which appears the most times in the list. | [2, 3, 4, 2, 3, 2, 3, 2] | The number which appears the most times in the list is 2, which appears 4 times. | null |
Summarize key facts about „Type 41“ clearly and accurately. | **Type 41**
Type 41 may refer to: Japanese Guns Type 41 75 mm Mountain Gun, a Japanese weapon Type 41 75 mm Cavalry Gun, a Japanese weapon Type 41 3-inch (7.62 cm)/40-caliber naval gun, a Japanese weapon Type 41 4.7 inch 40 caliber naval gun, a Japanese weapon Type 41 6-inch (152 mm)/40-caliber naval gun, a Japanese w... | null | |
Write an SQL query to calculate the average order price for each product category in the "orders" table. | SELECT category, AVG(price) as "Average Order Price" FROM orders GROUP BY category; | null | |
Summarize key facts about „McCaw“ clearly and accurately. | **McCaw**
McCaw is a surname. Notable people with the surname include: Bill McCaw (born 1927), New Zealand rugby player Chris McCaw (born 1971), American photographer Craig McCaw (born 1949), American businessman, ex-husband of Wendy McCaw J. Elroy McCaw (1911-1969), American businessman John McCaw (1918-2015), britis... | null | |
null | null | null | List of Paris Saint-Germain Féminine managers
Paris Saint-Germain Féminine have had twelve managers since 1999, of whom four have won at least one trophy. Jocelyn Prêcheur is the current manager. He has been in charge since September 2023. The club won its maiden honour, the Division 2 championship, under Sébastien Th... |
Stručně shrň článek o tématu „Bratři Grimmové“ a uveď hlavní fakta. | **Bratři Grimmové**
Bratři Grimmové (německy Brüder Grimm, nebo Gebrüder Grimm) byli sběratelé klasických lidových německých pohádek a mytologických příběhů. Známější z obou bratrů, Jacob Grimm (1785–1863), byl jedním z největších německých jazykovědců. Mladší Wilhelm Grimm (1786–1859) se zapsal do dějin jako spolupra... | null | |
Summarize key facts about „Vedeggio“ clearly and accurately. | **Vedeggio**
The Vedeggio is a river of the Swiss Canton Ticino which rises on the slopes of Monte Camoghè (2200m) between Bellinzona and Lugano, crosses the plain of Vedeggio (which takes its name from the river), and enters Lake Lugano at Agno. Its final section, from the outskirts of Agno until its emission into La... | null | |
What are the benefits of Polymorphism in Object-Oriented Programming? | Polymorphism in Object-Oriented Programming (OOP) allows for objects of different types to share the same interface and behave differently according to their type. This allows a more flexible and efficient codebase, as it eliminates the need to write code specifically for each object type. It also improves the reusabil... | null | |
null | null | null | Anarchism in Peru
Anarchism in Peru emerged from the Peruvian trade union movement during the late 19th century and the first two decades of the 20th century. History The beginnings of anarchism in Peru can be traced back to 1870. In the craftsmen's guilds at the end of the 19th century, a certain anarchist orientatio... |
Create a function in JavaScript to implement Newton's Method of Numerical Approximation. | function newtonsMethod(f, df, x, epsilon) { // Keep track of how many iterations we calculate let iteration = 0; while (Math.abs(f(x)) > epsilon && iteration < MAX_ITER) { x -= f(x) / df(x); iteration += 1; } return x; } | null | |
Stručně shrň článek o tématu „Helena Krmíčková“ a uveď hlavní fakta. | **Helena Krmíčková**
Helena Krmíčková (* 24. února 1955 Brno) je česká historička, emeritní vedoucí Ústavu archivnictví a pomocných věd historických na Filozofické fakultě Masarykovy univerzity. V rámci své pedagogické a odborné činnosti se zabývá středověkou latinou, církevní správou, edicemi středověkého diplomatick... | null | |
Write a web crawler in Python to extract only the text content from a given website. | # import the necessary libraries import requests from bs4 import BeautifulSoup # define the web crawler def web_crawler(url): # make the request to the specified url page = requests.get(url) page_content = page.content # parse the received content soup = BeautifulSoup(page_content, 'lxml') text_content = soup.find_all(... | null | |
Stručně shrň článek o tématu „Square Sainte-Odile“ a uveď hlavní fakta. | **Square Sainte-Odile**
Square Sainte-Odile je square v Paříži v 17. obvodu. Poloha Square je ohraničeno na západě ulicí Rue Jean Moréas s kostelem svaté Otýlie (Sainte-Odile), po kterém nese své pojmenování, na severu Boulevardem de la Somme, na východě ulicí Rue de Courcelles a na jihu Avenue Stéphane-Mallarmé. Hist... | null | |
Create a SQL query to find the employees with the highest salary in each job role. | SELECT a.job_role, a.emp_name, a.salary FROM employees a INNER JOIN ( SELECT job_role, MAX(salary) car_max FROM employees GROUP BY job_role ) b ON a.job_role=b.job_role AND a.salary=b.car_max; | null | |
null | null | null | Johann Heinrich Roos
Johann Heinrich Roos (29 September 1631, Otterberg – 3 October 1685, Frankfurt) was a German Baroque era landscape painter and etcher. Biography Roos was born in Otterberg, a town in the Palatinate in 1631. His family had emigrated to Amsterdam due to the Thirty Years' War in 1640. He trained with... |
Design an algorithm to find the maximum number from a set of numbers | Set of numbers: [24, 5, 40, 15] | # Algorithm 1. Initialize maximum as 0 2. Iterate through each number in the set a. if number > maximum: i. set maximum as number 3. Return maximum | null |
null | null | null | Technická univerzita Mnichov
Technická univerzita Mnichov (TUM) (, ) je technická vysoká škola založená roku 1868 v Mnichově. Profesoři a absolventi TUM získali celkem 17 Nobelových cen. V roce 2020 se univerzita podle QS University Rankings umístila na 50. místě na světě a na 1. místě v Německu. Kampus Budovy TUM se ... |
Stručně shrň článek o tématu „Fritování“ a uveď hlavní fakta. | **Fritování**
Fritování je tepelná úprava pokrmu podobná smažení. Na rozdíl od smažení je pokrm při fritování celý ponořen do horkého oleje, jeho příprava je proto rychlejší a rovnoměrnější. Rovněž teplotu oleje lze regulovat, a tak nemusí docházet k nezdravému přepálení oleje. Optimální teplota je 180 °C. Je-li teplo... | null | |
null | null | null | Seznam měst ve Švédsku
Seznam uvádí města ve Švédsku podle počtu obyvatel na území obcí (kommun). (S = Odhad). Metropolitní oblasti podle počtu obyvatel Největší metropolitní oblasti ve Švédsku podle Ústředního statistického úřadu Švédska (31. prosince 2005): Stockholm: 1 889 945 obyvatel Göteborg: 879 298 obyvatel Ma... |
Stručně shrň článek o tématu „Albert Goodheir“ a uveď hlavní fakta. | **Albert Goodheir**
Albert Goodheir (26. června 1912, Utrecht, Nizozemsko – 27. prosince 1995, Glasgow, Spojené království) byl skotský lékař, spisovatel, překladatel a esperantista. Dílo Vlastní dílo Merlo sur menhiro Fondita sur roko''' Nia kultura heredaĵo kaj esperanto Překlady D-ro Jekyll kaj S-ro Hyde - L. Steve... | null | |
null | null | null | Vůz WRmz815 ČD
{{DISPLAYTITLE:Vůz WRmz815 ČD}} Vozy WRmz815, číslované v intervalu 73 54 88-91, do roku 2001 označené WRRmz, jsou jídelní osobní vozy z vozového parku Českých drah. Všech deset vozů WRmz815 vyrobila v letech v roce 1997 společnost MSV Studénka dle dokumentace dodané společností SGP Siemens Vznik řady V... |
Debug the given code to output the correct result. | def temperature_converter(temperature): kelvin = temperature + 273.15 return celsius | def temperature_converter(temperature): celsius = temperature kelvin = temperature + 273.15 return kelvin | null |
null | null | null | Jal tarang
The jal tarang (Hindi: जलतरंग) is a melodic percussion instrument that originates from the Indian subcontinent. It consists of a set of ceramic or metal bowls filled with water. The bowls are played by striking the edge with beaters, one in each hand. History The earliest mention of the jal tarang is found ... |
You are given an array of numbers. Create a function to check if the array contains duplicate values. | 11, 15, 40, 14, 11 | def contains_duplicates(arr): unique_elements = set(arr) if len(arr) != len(unique_elements): return True else: return False | null |
Stručně shrň článek o tématu „Dům pro dva“ a uveď hlavní fakta. | **Dům pro dva**
Dům pro dva je český barevný film režiséra Miloše Zábranského z roku 1988. Obsah V jednom domě žijí dva bratři, starší je tichý, skromný, poctivý a věřící (Jiří Schmitzer), mladší je jeho pravý opak, halasný, furiantský, svůdník (Ondřej Vetchý), dělající bratrovi naschvály. Když starší bratr tragicky z... | null | |
Print a text in reverse order without using any built-in function or loop. | Text: Hello World | dlr ow olleH | null |
Spočítej 5×5 | 5 × 5 = 25 | null | |
Stručně shrň článek o tématu „News Chronicle“ a uveď hlavní fakta. | **News Chronicle**
News Chronicle byly denní britské noviny. Noviny vznikly v roce 1930 po splynutí Daily News a Daily Chronicle. Vydávání ukončily v roce 1960, kdy deník byl pohlcen a sloučen s Daily Mail. Editoři 1930: Tom Clarke 1933: Aylmer Vallance 1936: Gerald Barry 1948: Robin Cruikshank 1954: Michael Curtis 19... | null | |
Stručně shrň článek o tématu „Otevřená ekonomika“ a uveď hlavní fakta. | **Otevřená ekonomika**
Otevřená ekonomika je taková ekonomika, která se volně stýká s ostatními světovými ekonomikami. S tím je spojena řada výhod: obchodování umožňuje lidem zaměřovat se na výrobu toho, co dokáží nejlépe (v čem mají komparativní výhodu) obchodováním mohou lidé dosáhnout větší rozmanitosti výrobků ke ... | null | |
Print the length of an array containing the numbers [6, 5, 9, 15]. | 4 | null | |
Describe the purpose of machine learning. | The purpose of machine learning is to develop algorithms and models that are able to learn from data and make predictions or decisions without being explicitly programmed. Machine learning algorithms can discover hidden patterns from large amounts of data and use the knowledge acquired to improve the accuracy of predic... | null | |
Stručně shrň článek o tématu „Bray-sur-Somme“ a uveď hlavní fakta. | **Bray-sur-Somme**
Bray-sur-Somme je francouzská obec v departementu Somme v regionu Hauts-de-France. V roce 2010 zde žilo 1 238 obyvatel. Vývoj počtu obyvatel Související články Seznam obcí v departementu Somme Externí odkazy Reference Obce v departementu Somme | null |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.