instruction stringlengths 2 259 ⌀ | input stringlengths 0 442 ⌀ | output stringlengths 1 1.9k ⌀ | text stringlengths 273 2.08k ⌀ |
|---|---|---|---|
null | null | null | That Way (Tate McRae song)
"That Way" (stylized in all lowercase letters) is a song by Canadian singer Tate McRae, from her debut EP All the Things I Never Said (2020). The song was written by McRae, Skyler Stonestreet, and Nick Monson and produced by Nick Monson. "That Way" is a minimalist piano ballad. Background an... |
Using the input, create a function to calculate the average of the set. | nums = [1, 2, 3, 4, 5] | def avg_nums(nums): total = 0 for num in nums: total += num avg = total / len(nums) return avg print(avg_nums([1, 2, 3, 4, 5])) # Output: 3.0 | null |
Compute the sum of all even numbers between 1 and 50. | def sum_even(num): total = 0 for i in range(1, num+1): if i % 2 == 0: total += i return total if __name__ == "__main__": print(sum_even(50)) | null | |
Stručně shrň článek o tématu „Autorské právo“ a uveď hlavní fakta. | **Autorské právo**
Autorské právo (anglicky ) je odvětví práva, které se zabývá právními vztahy uživatelů a tvůrců tzv. „autorských děl“ k příslušným dílům. Tvůrci mohou být například spisovatelé, hudebníci, filmaři, architekti, urbanisté a programátoři apod. Prostřednictvím autorského práva stát poskytuje autorům po ... | null | |
Stručně shrň článek o tématu „Topaz“ a uveď hlavní fakta. | **Topaz**
Topaz (Boodt, 1636), chemický vzorec Al2{SiO4(F,OH)2}, je kosočtverečný minerál. Nazván podle ostrova Topasos v Rudém moři. Původ Pozdně magmatický a postmagmatický minerál kyselých magmatitů se zvýšeným obsahem Al a F. Vyskytuje se jako horninotvorný minerál v autometamorfovaných cínonosných žulách a na kře... | null | |
null | null | null | Černí baroni (film)
Černí baroni je česká filmová komedie z roku 1992 režiséra Zdeňka Sirového natočená na motivy stejnojmenné knihy Miloslava Švandrlíka. Film představuje „pétepáky“ – příslušníky Pomocného technického praporu (Ondřej Vetchý, Václav Vydra, Boris Rösner aj.) – praporu, tvořeného lidmi označovanými jako... |
Spočítej: 18 + 3 = ? | 18 + 3 = 21 | null | |
Ahoj | Ahoj! Jak ti můžu pomoct? | null | |
Implement a function to sort an array in ascending order. | Array: [7, 19, 5, 4, 16] | def sortArray(arr): for i in range(len(arr)): for j in range(1, len(arr)): if arr[j] < arr[j-1]: arr[j], arr[j-1] = arr[j-1], arr[j] return arr sortArray([7, 19, 5, 4, 16]) # [4, 5, 7, 16, 19] | null |
Create a Python script to compact a given list of elements. | my_list = [1,1,2,3,3,3,4,4,4,4,5] | def compact_list(lst): # Define a new list to hold the compacted elements new_list = [] current = None # Iterate through lst for item in lst: if item != current: current = item new_list.append(current) # Return the new list return new_list # Call the function with the given list my_list = [1,1,2,3,3,3,4,4,4,4,5] print(... | null |
Stručně shrň článek o tématu „Miroslav Berek“ a uveď hlavní fakta. | **Miroslav Berek**
Miroslav Berek (10. dubna 1938 Ostrava – 31. prosince 2019) byl český lední hokejista a trenér. Patřil k tzv. obojživelníkům, nejvyšší soutěž hrál rovněž ve fotbale za Baník Ostrava. Žil v rakouském Feldkirchu. Jeho bratr Bedřich Berek se také věnoval lednímu hokeji. Ve Vítkovicích byl členem tzv. „... | null | |
Stručně shrň článek o tématu „Kostel Nejsvětějšího srdce Páně (Kopaniny)“ a uveď hlavní fakta. | **Kostel Nejsvětějšího srdce Páně (Kopaniny)**
Kostel Nejsvětějšího srdce Páně je katolický, a zároveň jediný kostel v Kopaninách u Aše, v okrese Cheb. Byl postaven v roce 1890 v pseudogotickém stylu. Popis stavby Loď kostela je obdélníkového půdorysu, se třemi vystupujícími kapličkami v zadní části. V hlavní části lo... | null | |
null | null | null | Ivo Rotkvić
Ivo Rotkvić (1901–1983) byl chorvatský právník, spisovatel, překladatel a esperantista. Během svého života napsal knihu Ĉe L' Rando de Abismo a kratší literární útvary jako například eseje. Přeložil knihy Autuna vespero od M. Ogrizoviče a od Herzoga Pangea a Tragedio en Universo. Do širšího povědomí se zap... |
null | null | null | Ndonde people
The Ndonde, or Ndonde Hamba, are an ethnic and linguistic group based in Nachingwea District, in the Lindi Region of southern Tanzania. In 2002 the Ndonde population was estimated to number between 10,000 and 20,000 . The main Ndonde language is Ndonde Hamba, also known as Mawanda - A Bantu language of T... |
null | null | null | Občanství Evropské unie
Občanství Evropské unie získává automaticky každý občan členského státu Unie. Občanství Unie doplňuje občanství členského státu, nenahrazuje je. Občané Unie mají práva stanovená evropským právem, mimo jiné: právo svobodně se pohybovat a pobývat na území členských států. Více viz článek Svoboda ... |
Write a MySQL query to count the number of students enrolled in a course called "Coding 101". | SELECT COUNT(*) FROM students WHERE course = 'Coding 101'; | null | |
Create a JavaScript function that takes two parameters, an integer and a character, and returns a string with the character repeated that many times. | 2, '#' | const repeatCharacter = (num, character) => { let str = ''; for (let i = 0; i < num; i++) { str += character; } return str; }; repeatCharacter(2, '#'); // returns '##' | null |
Stručně shrň článek o tématu „Hanuš Karlík“ a uveď hlavní fakta. | **Hanuš Karlík**
Hanuš Karlík (23. března 1850, Rokycany – 10. ledna 1927, Praha) byl český chemik, podnikatel, vůdčí osobnost českého cukrovarnictví. Život Narodil se jako čtvrté ze sedmi dětí kantora a hudebního skladatele Františka Václava Karlíka a Kateřiny rozené Corvínové (1820-1857), dcery Petra Corvína, purkmi... | null | |
Write a function in Python that takes two arguments, a list of strings and a letter, and returns the strings which contain the letter. | lst = ["apple","banana","kiwi","pear"], letter = "a" | def find_with_letter(lst, letter): result = [] for s in lst: if letter in s: result.append(s) return result | null |
Write a HTML structure using semantic tags to list the skills of a web developer. | HTML, CSS, JavaScript, React | <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>Web Developer Skills</title> </head> <body> <h1>Web Developer Skills</h1> <ul> <li>HTML</li> <li>CSS</li> <li>JavaScript</li> <li>React</li> </ul> </body> </html> | null |
null | null | null | Americká hokejbalová reprezentace
Americká hokejbalová reprezentace je výběrem nejlepších amerických hráčů v hokejbale. Od roku 1998 se účastní mistrovství světa. Tým je řízen Americkým hokejbalovým institutem, který je členem ISBHF. Největším úspěchem amerického výběru je druhé místo z mistrovství světa 2015. Účast n... |
null | null | null | Dorian Gregory
Dorian Gregory (born January 26, 1971) is an American actor and television host who played Darryl Morris on the television show Charmed (1998–2005) and was the fourth and final permanent host of Soul Train, replacing Shemar Moore. Background Gregory was born in Washington, D.C., and raised in Cleveland,... |
Kolik je 16 × 10? | 16 × 10 = 160 | null | |
Add a function to implement a basic calculator in C++. | #include <iostream> using namespace std; int addition(int a, int b){ return (a+b); } // Subtraction function int subtraction(int a, int b){ return (a-b); } // Multiplication function int multiplication(int a, int b){ return (a*b); } // Division function int division(int a, int b){ return (a/b); } // Function to perform... | null | |
null | null | null | Armando Orozco
Guillermo Armando Orozco Valera (born 31 January 1958) is a Cuban former hammer thrower who competed in the 1980 Summer Olympics. His personal best in the event is 74.74 metres. International competitions 1Representing the Americas References 1958 births Living people Cuban male hammer throwers Olympic ... |
Convert this Python statement into a list comprehension. | for item1 in list1: for item2 in list2: if item1 == item2: result_list.append(item1) | result_list = [item1 for item1 in list1 for item2 in list2 if item1 == item2] | null |
Kolik je 26 × 5? | 26 × 5 = 130 | null | |
Hey tam? | Ahoj! Co potřebuješ vyřešit? | null | |
Stručně shrň článek o tématu „Vůz Apee148, 144, 141, 139 ČD“ a uveď hlavní fakta. | **Vůz Apee148, 144, 141, 139 ČD**
{{DISPLAYTITLE:Vůz Apee148, 144, 141, 139 ČD}} Vozy řady Apee148, číslované v intervalu 51 54 10-70, v 90. letech označené Ahee a vozy řad Apee144, Apee141 a Apee139, shodně číslované v intervalu 61 54 10-70, jsou příbuznými řadami osobních vozů z vozového parku Českých drah. Všechny ... | null | |
Stručně shrň článek o tématu „Měsíc (rozcestník)“ a uveď hlavní fakta. | **Měsíc (rozcestník)**
Měsíc má více významů: Měsíc – přirozená družice planety Země, vesmírné těleso měsíc (satelit) – přirozená družice (satelit) libovolné planety, druh vesmírného tělesa kalendářní měsíc – časová jednotka, v běžném kalendáři má délku 28–31 dní astronomické časové jednotky siderický měsíc je doba ob... | null | |
Construct an HTML form with input elements for name and email. | <form> <label for="name_field">Name:</label> <input type="text" id="name_field" name="name"/> <br /> <label for="email_field">Email:</label> <input type="text" id="email_field" name="email"/> <br /> <input type="submit" value="Submit"/> </form> | null | |
Summarize key facts about „Simaba cedron“ clearly and accurately. | **Simaba cedron**
Simaba cedron, the cedron, is a member of the quassia family, Simaroubaceae, native to Colombia and Central America. References External links Cedron Cedron Simaroubaceae Trees of Aruba Trees of Colombia Trees of Paraguay | null | |
Using HTML, render a link to an external site. | external_site = "https://www.example.com" | <a href="https://www.example.com" target="_blank">Visit External Site</a> | null |
Stručně shrň článek o tématu „Agluona“ a uveď hlavní fakta. | **Agluona**
Název Agluona může znamenat: Agluona (Minija) – řeka na západě Litvy, levý přítok Minije Agluona (Šešuvis) – řeka (mající dvě stejnojmenné větve) na západě Litvy, pravý přítok řeky Šešuvis Agluona (Agluona) – jedna ze zmíněných větví (přítok stejnojmenné řeky Agluony) Agluona (Vadakstis) – řeka na severu L... | null | |
Umíš TypeScript? Buď upřímný. | TypeScript beru jako nadstavbu JS — jednoduché typy ano, ale nejsem TS specialista. Spolehlivě: JavaScript, Python, HTML, PHP. | null | |
Summarize key facts about „Ceyhun Sultanov“ clearly and accurately. | **Ceyhun Sultanov**
Ceyhun Oqtay oğlu Sultanov (born 12 June 1979) is a retired Azerbaijani footballer who last played as a central midfielder for Azerbaijan Premier League club Gabala. He was voted Azerbaijani Footballer of the Year in 2006. Sultanov has made 16 appearances for the Azerbaijan national football team. ... | null | |
How would you create a function in JavaScript that returns a string that contains the word “Hello” 5 times? | function helloFiveTimes() { return "Hello " + "Hello " + "Hello " + "Hello " + "Hello "; } | null | |
Generate three different sorting algorithms for a list of integers. | # Bubble Sort algorithm def bubble_sort(lst): for i in range(len(lst)-1): for j in range(len(lst)-1-i): if lst[j] > lst[j+1]: lst[j], lst[j+1] = lst[j+1], lst[j] return lst # Insertion Sort algorithm def insertion_sort(lst): for i in range(1, len(lst)): key = lst[i] j = i - 1 while j >= 0 and key < lst[j]: lst[j+1] = l... | null | |
Write a loop in C++ to print out a list of numbers from 1 to 100. | #include <iostream> int main() { for(int i = 1; i <= 100; i++) { std::cout << i << ' '; } return 0; } | null | |
Write a SQL query to count the number of unique customers who purchased an item in a given month. | Table name: "Orders" | SELECT COUNT(DISTINCT customer_id) FROM Orders WHERE MONTH(order_date) = <month_number>; | null |
Summarize key facts about „Sexually oriented business“ clearly and accurately. | **Sexually oriented business**
In United States law, a sexually oriented business (S.O.B.) is a business that is part of the sex industry, such as sites of erotic performance and erotic paraphernalia stores. Often regulations of SOBs enter law as part of zoning regulations by jurisdictions when trying to maintain the ... | null | |
Thanks | You're welcome! | null | |
How can you print a string character by character in Python? | def char_by_char(string): for char in string: print(char) | null | |
Stručně shrň článek o tématu „But You Caint Use My Phone“ a uveď hlavní fakta. | **But You Caint Use My Phone**
But You Caint Use My Phone je mixtape americké zpěvačky Erykah Badu. Vydán byl 27. listopadu 2015 po zpěvaččině pětileté odmlce. Zpěvačka na albu spolupracovala s producentem Zachem Witnessem a album nahráli za jedenáct dnů v jeho domovském studiu v texaském Dallasu. Dále se na albu podí... | null | |
null | null | null | 2013 Open Saint-Gaudens Midi-Pyrénées – Doubles
Vesna Dolonc and Irina Khromacheva were the defending champions, having won the event in 2012, but both players chose not to defend their title. Dolonc played instead at the 2013 Sparta Prague Open. Julia Glushko and Paula Ormaechea won the title, defeating Stéphanie Dub... |
Suppose you have a list of integers. Write a program in R language to compute the minimum of the list. | list_of_integers <- c(5,9,7,8,2,1) | min_val <- min(list_of_integers) print(min_val) | null |
Stručně shrň článek o tématu „Yarisley Silvaová“ a uveď hlavní fakta. | **Yarisley Silvaová**
Yarisley Silva Rodríguez (* 1. června 1987 Pinar del Río) je kubánská atletka, stříbrná olympijská medailistka a mistryně světa ve skoku o tyči v hale i pod širým nebem. Jejím manažerem je držitel světových rekordů ve skoku do výšky, olympijský vítěz Javier Sotomayor. Sportovní kariéra V roce 200... | null | |
Create a loop that prints out every other element in the given array. | int[] arr = {1, 2, 3, 4, 5, 6, 7, 8} | for i in range(0, len(arr), 2): print(arr[i]) | null |
null | null | null | WPCO (AM)
WPCO (840 kHz) is an AM radio station broadcasting a classic hits format. Licensed to Stroudsburg, Pennsylvania, United States, the station serves the Stroudsburg area. The station is owned by Seven Mountains Media, through licensee Southern Belle, LLC. History WPCO began operation as WHAB in 1947. A year la... |
Edit the following HTML page to add a table with three rows and two columns. | <!-- HTML page --> <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>Table Example</title> </head> <body> </body> </html> | <!-- Edited HTML page --> <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>Table Example</title> </head> <body> <table> <tr> <th>First Header</th> <th>Second Header</th> </tr> <tr> <td>Row 1, Cell 1</td> <td>Row 1, Cell 2</td> </tr> <tr> <td>Row 2, Cell 1</td> <td>Row 2, Cell 2</td> </tr> </table> ... | null |
null | null | null | Bruce Laird
Bruce Malcolm Laird (born 21 November 1950) is a former Western Australian and Australian cricketer. He was an opening batsmen who played in 21 Test matches and 23 One Day Internationals. He also played 13 "Supertests" in World Series Cricket. Early career 1972–73 season Bruce Laird represented his home st... |
Summarize key facts about „Stratford, Connecticut“ clearly and accurately. | **Stratford, Connecticut**
Stratford is a town in Fairfield County, Connecticut, United States. It is situated on Long Island Sound at the mouth of the Housatonic River. The town is part of the Greater Bridgeport Planning Region, and the Bridgeport–Stamford–Norwalk Metropolitan Statistical Area. It was settled by Puri... | null | |
Match the strings "string1" and "string2" using regex. | string1="Hello World" string2="Hello*World" | import re string1 = "Hello World" string2 = "Hello*World" pattern = re.compile(string2.replace('*', '.')) match = pattern.search(string1) if match: print('Matched!') | null |
Replace all vowels in a given string with the character "X" in C++. | "Hello World!" | #include<iostream> #include<string> using namespace std; int main() { string s = "Hello World!"; for (int i=0; s[i]!='\0'; i++) { if (s[i] == 'A' || s[i] == 'a' || s[i] == 'E' || s[i] == 'e' || s[i] == 'I' || s[i] == 'i' || s[i] == 'O' || s[i] == 'o' || s[i] == 'U' || s[i] == 'u') s[i] = 'X'; } cout << s; return 0; } | null |
Write a SQL query to retrieve all the rows from a table called "customers". | SELECT * FROM customers; | null | |
null | null | null | I Gotta Feeling
{{Infobox - skladba | typ = Singl | název = I Gotta Feeling | album = The E.N.D. | interpret = The Black Eyed Peas | obrázek = | strana a = | strana b = | formát = | datum vydání = 16. června, 2009 (US, rádio) | nahráno = | žánr = Dance, electro-hop, house | délka = 4:05 (rádioverze) | vydavatel = | pr... |
Stručně shrň článek o tématu „Jaroslav Eduard Dvořák“ a uveď hlavní fakta. | **Jaroslav Eduard Dvořák**
Jaroslav Eduard Dvořák (* 5. června 1946 Koloděje) je český malíř a sochař, vysokoškolský pedagog, zakládající člen Volného seskupení 12/15 Pozdě, ale přece. Život Jaroslav Dvořák absolvoval Střední výtvarnou školu v Praze (1960-1964). V letech 1966-1972 studoval na Akademii výtvarných umění... | null | |
Summarize key facts about „Calabrian Tarantella“ clearly and accurately. | **Calabrian Tarantella**
Calabrian Tarantella (in italian: Tarantella Calabrese or "Sonu a ballu": playing for dancing) is a generic term to include different musical-dancing expressions spread in Calabrian peninsula and different from other southern Italian dances called simply Tarantella. It is played and danced dur... | null | |
Summarize key facts about „Thirty Years Later“ clearly and accurately. | **Thirty Years Later**
Thirty Years Later, is a 1928 American black and white silent drama film directed and produced by Oscar Micheaux for Micheaux Films. Thirty Years Later film was based on Henry Francis Downing' The Racial Tangle. The film stars William Edmonson and Mabel Kelly in the lead roles, whereas A.B. DeCo... | null | |
Explain photosynthesis in simple English. | Photosynthesis is how plants make food: they use sunlight, water, and carbon dioxide to produce sugars and release oxygen. | null | |
Write a JavaScript program to compute the difference between two dates in days. | Two dates- "2021/07/26" and "2022/06/01" | const dateOne = new Date("2021/07/26"); const dateTwo = new Date("2022/06/01"); const timeDifference = dateTwo.getTime() - dateOne.getTime(); const daysDifference = timeDifference / (1000 * 3600 * 24); console.log(daysDifference); | null |
null | null | null | Václav Kuneš
Václav Kuneš (* 19. května 1975, Praha) je český choreograf a tanečník, umělecký ředitel souboru 420PEOPLE. Studium, první angažmá Již v mládí se zajímal o tanec. V Lidové škole umění navštěvoval hodiny pohybové výchovy a hru na klavír.. Studoval na pražské Taneční konzervatoři, kde k jeho spolužákům patř... |
Summarize key facts about „Great knot“ clearly and accurately. | **Great knot**
The great knot (Calidris tenuirostris) is a small wader. It is the largest species of the genus Calidris. They are a migratory bird which breeds in Siberia, Russia, and flies to southern Asia and Australia in the northern winter. Etymology The genus name is from Ancient Greek kalidris or skalidris, a te... | null | |
Create an HTML/CSS webpage which displays the given text: "Hello, Welcome to my website!" | <!DOCTYPE html> <html> <head> <title>Welcome to My Website!</title> </head> <body> <div> <h1>Hello, Welcome to my website!</h1> </div> </body> </html> | null | |
Implement an algorithm to print the steps of the Tower of Hanoi problem. | def hanoi(num_disks, from_peg, to_peg, aux_peg): if num_disks == 1: print("Move disk 1 from peg", from_peg,"to peg", to_peg) return hanoi(num_disks-1, from_peg, aux_peg, to_peg) print("Move disk",num_disks,"from peg",from_peg,"to peg",to_peg) hanoi(num_disks-1, aux_peg, to_peg, from_peg) | null | |
Stručně shrň článek o tématu „Julio Baghy“ a uveď hlavní fakta. | **Julio Baghy**
Julio Baghy (13. ledna 1891, Segedín – 18. března 1967, Budapešť) byl maďarský herec, režisér a jeden z předních autorů esperantského hnutí. Je autorem několika novel, ale své mistrné zvládnutí esperanta dokázal především na poli poezie. Jeho verše jsou plné lyriky, humanismu a veselé nálady. Jeho prvn... | null | |
Create a Python function that takes two arguments, a positive integer and a boolean, and return the word "yes" if the boolean is true and the number is even, else it should return the word "no". | def check_number(number, condition): if condition and number % 2 == 0: return "yes" else: return "no" | null | |
null | null | null | Slovenská hokejbalová reprezentace
Slovenská hokejbalová reprezentace je výběrem nejlepších slovenských hráčů v hokejbale. Od roku 1996 se účastní mistrovství světa a do roku 2000 hrálo i mistrovství Evropy. Tým je řízen Slovenskou hokejbalovou únií, která je členem ISBHF. Největším úspěchem slovenského výběru je pět ... |
Write a code in JavaScript for iterating over an array and print each element. | arr = [1, 2, 3, 4] | arr.forEach(function(el) { console.log(el); }); | null |
null | null | null | Oblastní hokejové soutěže 1957/1958
Československé oblastní soutěže ledního hokeje 1957/1958 byla třetí nejvyšší hokejovou soutěží na území Československa. Systém soutěže Soutěž se byla rozdělena do 8 skupin po 5 nebo 6 účastnících. Ve skupinách se všechny kluby utkaly každý s každým (celkem 8 (10) kol). Vítězové jedn... |
Stručně shrň článek o tématu „Tepelný izolant“ a uveď hlavní fakta. | **Tepelný izolant**
Tepelný izolant je látka, která špatně vede teplo, tzn. má nízkou tepelnou vodivost. Opakem tepelného izolantu je tepelný vodič. Veličina, která umožňuje porovnání látek podle tepelné vodivosti, se nazývá součinitel tepelné vodivosti. Tepelné izolanty mají nízký součinitel tepelné vodivosti. Příkla... | null | |
What is 19 - 4? | 19 - 4 = 15 | null | |
Write a function in C++ to reverse a C-style String. | // str is a c-style string char str[] = "Hello World!" | void ReverseString(char *str) { int length = 0; char temp; // calculate the length of string while (*str != 0) { length++; str++; } // the end of string str--; // swap first and last characters for (int i = 0; i < length/2; i++) { temp = *str; *str = *(str - length + 1); *(str -length + 1) = temp; str--; } } | null |
Summarize key facts about „APA Award for Distinguished Scientific Contributions to Psychology“ clearly and accurately. | **APA Award for Distinguished Scientific Contributions to Psychology**
The APA Award for Distinguished Scientific Contributions to Psychology is an award of the American Psychological Association that "honors psychologists who have made distinguished theoretical or empirical contributions to basic research in psycholo... | null | |
Edit the following Java code to create a method which will calculate the area of a rectangle, given its width and length. | public class Rectangle { private double width; private double length; | public class Rectangle { private double width; private double length; public double calculateArea() { return width * length; } } | null |
null | null | null | Vrh vodorovný
Vrh vodorovný je pohyb tělesa v tíhovém poli, při kterém počáteční rychlost tělesa má směr kolmý ke směru tíhového zrychlení. Vodorovný vrh je složený – pohyb vrženého tělesa vodorovným směrem a volný pád tělesa. Vodorovný vrh je speciálním případem šikmého vrhu. Pokud vrh probíhá ve vakuu a uvažujeme-li... |
Summarize key facts about „Rappahannock River (New Zealand)“ clearly and accurately. | **Rappahannock River (New Zealand)**
The Rappahannock River is a river of the Tasman Region of New Zealand's South Island. It flows predominantly north from its sources east of Maruia, reaching the Warwick River five kilometres from the latter's outflow into the Maruia River. See also List of rivers of New Zealand Ref... | null | |
null | null | null | Francisko Szilágyi
Francisko Szilágyi (původně maďarsky Szilágyi Ferenc, 1. února 1895 – 1. prosince 1967) byl maďarský, později švédský esperantista a advokát. Dílo Francisko Szilágyi byl dlouholetým redaktorem kulturní, společenské a literární revue Norda Prismo. Na jeho dílech i překladech je patrné, že byl nadaný ... |
Sort elements of an array in descending order in Java. | public static int[] sortDesc(int[] nums) { Arrays.sort(nums); Collections.reverse(Arrays.asList(nums)); return nums; } | null | |
Summarize key facts about „HEPES“ clearly and accurately. | **HEPES**
HEPES (4-(2-hydroxyethyl)-1-piperazineethanesulfonic acid) is a zwitterionic sulfonic acid buffering agent; one of the twenty Good's buffers. HEPES is widely used in cell culture, largely because it is better at maintaining physiological pH despite changes in carbon dioxide concentration (produced by aerobic... | null | |
Select all the records in the given table where the ID is greater than 5. | Table ID | Name | Address 1 | John | UK 2 | Jack | US 5 | Mary | UK 11 | Chris | Canada | SELECT * FROM Table WHERE ID > 5; | null |
Summarize key facts about „Cuccio“ clearly and accurately. | **Cuccio**
The Cuccio is a torrent of the Province of Como in north Italy. It rises at Pizzo di Gino (commune of San Nazzaro Val Cavargna) and runs south through the Val Cavargna before entering Lake Lugano at Porlezza. Rivers of Lombardy Rivers of the Province of Como Rivers of Italy | null | |
Compute the centroid of given points using mathematical formulas. | points = [(2, 3), (4, 7), (6, 9)] | def calculate_centroid(points): n = len(points) centroidX = sum(row[0] for row in points) / n centroidY = sum(row[1] for row in points) / n return [centroidX, centroidY] points = [(2, 3), (4, 7), (6, 9)] print(calculate_centroid(points)) | null |
What is 14 - 11? | 14 - 11 = 3 | null | |
Write a function in Python to generate a list of numbers that is the square of all numbers between 1 and the number provided. | num = 10 | def generate_square_list(num): result = [] for i in range(1, num+1): result.append(i*i) return result | null |
Summarize key facts about „Water on Mars (band)“ clearly and accurately. | **Water on Mars (band)**
Water on Mars is a psychedelic rock and electronic music group from Quebec City, founded in 2004. The music trio is led by Philippe Navarro, guitarist, vocalist, arranger, producer, principal lyricist, and music composer. He is joined by drummer Sylvain Harvey and bassist Benoit L'Allier, Hist... | null | |
Construct a for-loop to print all numbers from 1 to n, separated by a space. | for i in range(1, n + 1): print(i, end=" ") | null | |
Summarize key facts about „Hastings Contemporary“ clearly and accurately. | **Hastings Contemporary**
The Hastings Contemporary is a museum of contemporary British art located on The Stade in Hastings, East Sussex and is a not-for-profit organisation. The gallery opened in March 2012 as the Jerwood Gallery and cost £4m to build. The gallery contains temporary exhibitions that included work fr... | null | |
Build a relational database using SQL and answer the following query: "return the titles of all movies released in the year 2000." | SELECT title FROM movies WHERE year = 2000; | null | |
Python function for: retry | ```python import time def retry(fn, n=3): for i in range(n): try: return fn() except Exception: if i == n-1: raise time.sleep(0.1) ``` | null | |
null | null | null | Bellerofontés
Bellerofontés (řecky Βελλεροφόντης) je postava z řecké mytologie. Podle jedné z verzí byl nevlastním synem korintského krále Glauka (tedy vnukem Sisyfovým) a Eurymédé. Z neopatrnosti usmrtil svého bratra, a proto uprchl ke králi Proitovi do Argosu. Tam se do něj ale zamilovala králova manželka Antea nebo... |
Summarize key facts about „Battle of Winchester“ clearly and accurately. | **Battle of Winchester**
Battle of Winchester may refer to: First Battle of Winchester, on May 25, 1862 of Stonewall Jackson's Valley Campaign during the American Civil War Second Battle of Winchester, on June 13–15, 1863 as part of the Gettysburg Campaign during the American Civil War Third Battle of Winchester or Ba... | null | |
Stručně shrň článek o tématu „Transkei“ a uveď hlavní fakta. | **Transkei**
Republika Transkei byl loutkový stát na jihu Afriky, který vznikl v důsledku politiky apartheidu a existoval v letech 1976 až 1994. Měl rozlohu 41 000 km², v roce 1992 v něm žilo 4 780 000 obyvatel. Hlavním městem byla Umtata. Název Transkei označuje část Kapska na východ od řeky Great Kei River, kde žijí... | null | |
Code a function that takes a list of strings and checks if it is ordered lexicographically. | list_of_strings = ['algorithm', 'coding', 'novel'] | def ordered_list(list_of_strings): for i in range(len(list_of_strings) - 1): if list_of_strings[i] >= list_of_strings[i+1]: return False return True # Driver Code list_of_strings = ['algorithm', 'coding', 'novel'] print(ordered_list(list_of_strings)) | null |
Rewrite the following ruby program: | begin puts "Hello World!" end | puts "Hello World!" | null |
Explain what a Monadic function is. | A monadic function is a function that takes a single argument, typically a value or a collection of values, and returns a result that is also typically a value or a collection of values. They are often used to model a computations on collections of data. Monads allow for more expressive code, letting developers write a... | null | |
Create a Python list of 10 numbers from 0 to 9. | numbers = [0, 1, 2, 3, 4, 5, 6, 7, 8, 9] | null | |
Create a script to find the longest palindrome in a given sentence. | This is a level sentence. | function findLongestPalindrome(str) { let longestPalindrome = ''; for (let i = 0; i < str.length; i++) { for (let j = i + 1; j < str.length + 1; j++) { let currentSubstr = str.substring(i, j); if (currentSubstr === currentSubstr.split("").reverse().join("") && currentSubstr.length > longestPalindrome.length) { longestP... | null |
Jak zdvořile odmítneš úkol, který neumíš? | Řekni to rovnou a stručně: co neumíš, případně proč, a nabídni nejbližší věc, se kterou pomoct umíš. | null | |
null | null | null | Bhula Dunga
"Bhula Dunga" () is a 2020 Indian Hindi-language song, sung and composed by Darshan Raval, starring Sidharth Shukla and Shehnaaz Gill. Background and release The first look of a song was out on 17 March 2020 titled "Bhula Dunga". The song was released on 24 March 2020 by Indie Music Label Channel on YouTub... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.