instruction stringlengths 2 259 ⌀ | input stringlengths 0 442 ⌀ | output stringlengths 1 1.9k ⌀ | text stringlengths 273 2.08k ⌀ |
|---|---|---|---|
Update the following code to add a method to retrieve elements from the list. | class MyList def initialize @list = [] end end | class MyList def initialize @list = [] end def get(index) @list[index] end end | null |
Stručně shrň článek o tématu „Křišťan z Prachatic“ a uveď hlavní fakta. | **Křišťan z Prachatic**
Křišťan z Prachatic, latinsky Christianus de Prachaticz, (před rokem 1370 v Prachaticích – 5. září 1439 v Praze) byl český astronom, matematik, lékař a teolog, stoupenec Jana Husa. Od roku 1386 studoval na Karlově univerzitě v Praze, kde v roce 1388 složil bakalářské zkoušky a v roce 1390 zkouš... | null | |
Create an algorithm that finds the greatest common divisor of two integers. | x = 20 y = 12 | def find_gcd(x,y): # If x is greater than y # Swapping the x and y if x > y: tmp = x x = y y = tmp while y > 0: tmp = y y = x % y x = tmp return x gcd = find_gcd(20,12) print("The greatest common divisor of 20 and 12 is: ", gcd) | null |
null | null | null | Orontioideae
Orontioideae is a subfamily of flowering plants in the family Araceae. The subfamily consists of three genera namely, Lysichiton (one to two species of skunk cabbage from North America and Asia), Orontium (golden club, one living species from eastern North America and two extinct species known from fossil... |
null | null | null | Karaiskakis Stadium
The Georgios Karaiskakis Stadium (), commonly referred to as the Karaiskakis Stadium (, ), is a football stadium in Piraeus, Attica, Greece, and the home ground of the Piraeus football club Olympiacos. It is named after Georgios Karaiskakis, a military commander of the Greek War of Independence, wh... |
Stručně shrň článek o tématu „Rada Evropy“ a uveď hlavní fakta. | **Rada Evropy**
Rada Evropy (RE) (anglicky Council of Europe, CoE, francouzsky Conseil de l'Europe) je mezinárodní organizace spojující 46 zemí Evropy. Tato instituce dále zahrnuje šest pozorovatelských zemí: Vatikán, Kanadu, USA, Mexiko, Japonsko a Izrael. Rada Evropy je nezávislá na Evropské unii a funguje na princi... | null | |
Čau tam? | Zdravím! Napiš úkol — rád pomůžu. | null | |
Summarize key facts about „Henri Salmet“ clearly and accurately. | **Henri Salmet**
Henri Salmet (22 July 1878 – 1929?) was an early French aviator. Early life Henri Salmet was born on 22 July 1878, in Paris. Blériot Flying School 1911 In early 1911, he was employed by the Blériot Flying School at Hendon Aerodrome, and was taught to fly by its Chief Flying Instructor, Pierre Prier. O... | null | |
Create a function to generate a random password of length n | import random def generate_password(n): """ Create a function to generate a random password of length n :param n: the length of the password :return: a random password of length n """ # create a character list of symbols, alphabets, and numbers characters = 'abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ123456789... | null | |
null | null | null | Evergrey
Evergrey je progressive metalová skupina ze Švédska. Byla založena v roce 1996. Její debutové album The Dark Discovery vyšlo o dva roky později. Obsazení Tom S. Englund – zpěv, kytara Henrik Danhage – kytara, doprovodný zpěv Rikard Zander – klávesy, doprovodný zpěv Johan Niemann – basová kytara, doprovodný zp... |
Stručně shrň článek o tématu „Zelenec“ a uveď hlavní fakta. | **Zelenec**
Zelenec (Chlorophytum) je rod rostlin z čeledi chřestovité. Zahrnuje asi 200 druhů a je rozšířen v tropech a subtropech Starého světa. Některé druhy jsou pěstovány jako pokojové rostliny. Popis Rostliny mají dlouhé úzké listy, které jsou 20–40 cm dlouhé a 5–20 mm široké a rostou z centrální růžice. Je to p... | null | |
Suggest a condition for including an element in an array. | array.push(element) if element satisfies a certain condition, such as element.value === 5; | null | |
Ukaž Python kód — 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 | |
Oprav pravopis: Dneska jdu do skoly nakupit rohliki. | Dneska jdu do školy nakoupit rohlíky. | null | |
null | null | null | Maltézský slepičák
Maltézský slepičák, též maltský slepičák, maltézský holub nebo maltézan, je plemeno holuba domácího charakteristické extrémním prošlechtěním tělesných tvarů. Je to velký pták, v plemenné skupině slepičáků je vůbec největší, je velice vysoký, s dlouhým, vzpřímeným krkem, téměř kolmo neseným ocasem, v... |
Write a MongoDB query that returns all the records that have a “name” field set to “John” | db.collection. find({"name": "John"}) | null | |
Stručně shrň článek o tématu „Rošických“ a uveď hlavní fakta. | **Rošických**
Ulice Rošických na Malé Straně v Praze je jednosměrná ulice směrující v dolní části Újezdu severně po zbytek městských hradeb, které pokračují ke Hladové zdi. Nazvána je na počest českých vlastenců Jaroslava Rošického a Evžena Rošického, po kterém byl nazván i Memoriál Evžena Rošického a stadion Evžena R... | null | |
Develop a SQL query to select customers with a processing time greater than 5 minutes. | Input: Customers Table ┌─────────┬────────┬────────┬───────────┐ │ cust_id│name │ status │processing_time│ ├─────────┼────────┴────────┴───────────┤ │1 │ John │ active │ 3 │ │2 │ Peter │ inactive│ 7 │ │3 │ Rachel │ active │ 2 │ │4 │ David │ active │ 10 │ └─────────┴────────┴────────┴───────────┘ | SELECT * FROM Customers WHERE processing_time > 5; | null |
Napiš příklad fetch v moderním JavaScriptu. | ```javascript const res = await fetch("/api/items"); if (!res.ok) throw new Error(`HTTP ${res.status}`); const data = await res.json(); ``` | null | |
Create an array of four different colors in JavaScript. | let colors = ["red", "green", "blue", "yellow"]; | null | |
null | null | null | On/a
On/a (v originále They) je americký hraný film z roku 2017, který režírovala Anahita Ghazvinizadeh podle vlastního scénáře. Snímek měl světovou premiéru na Filmovém festivalu v Cannes 19. května 2017. V ČR byl uveden v roce 2018 na filmovém festivalu Febiofest. Děj J má 14 let a doposud není jasné, jestli chce bý... |
null | null | null | František Schneider (1961)
František Schneider (* 27. prosince 1961 v Uničově) je bývalý československý prvoligový fotbalový obránce. Jeho otec František Schneider byl prvním hráčem v historii Spartaku Uničov, který reprezentoval – byť v mládežnické kategorii – ČSR. Jeho syn František Schneider je také ligovým fotbali... |
hello | Ahoj! Jak ti můžu pomoct? | null | |
Vysvětli, co je inflace, srozumitelně česky. | Inflace je dlouhodobý růst cen zboží a služeb — za stejné peníze si koupíš méně. Měří se například meziroční změnou indexu spotřebitelských cen. | null | |
Stručně shrň článek o tématu „Jean de Lamberville“ a uveď hlavní fakta. | **Jean de Lamberville**
Jean de Lamberville (27. prosince 1633 – 10. února 1714) byl členem Tovaryšstva Ježíšova a misionářem mezi indiány na pomezí Nové Francie. Život Vystudoval jezuitskou kolej v Rouenu a od roku 1656 působil v Paříži, kde vyučoval gramatiku a humanitní vědy. V roce 1669 byl vybrán jako misionář k ... | null | |
Stručně shrň článek o tématu „USS Austin“ a uveď hlavní fakta. | **USS Austin**
Jméno USS Austin neslo vícero amerických lodí: USS Austin (1839) – dělová šalupa, původně patřící Texaskému námořnictvu USS Austin (DE-15) – eskortní torpédoborec třídy Evarts USS Austin (LPD-4) – amphibious transport dock | null | |
null | null | null | Hobby
Hobby (z angl. hobby-horse, koníček) nebo koníček je soustavná činnost, kterou se lidé zabývají ze zájmu, ze záliby a ve svém volném čase. Neslouží k obživě, ale pro potěšení a pocit seberealizace. Vymezení Hobby se podobá hře, i když obvykle sleduje nějaký více méně trvalý výsledek (zahradu, sbírku, výrobek a p... |
Summarize key facts about „Anne-Katrin Leucht“ clearly and accurately. | **Anne-Katrin Leucht**
Anne-Katrin Leucht is a retired German butterfly swimmer who won two silver medals at the 1974 European Aquatics Championships. References Living people German female swimmers German female butterfly swimmers European Aquatics Championships medalists in swimming Year of birth missing (living peo... | null | |
Write a function that finds the largest number in an array of integers. | def largest(arr): max = arr[0] for i in arr: if i > max: max = i return max | null | |
čau | Ahoj! Jak ti můžu pomoct? | null | |
Create a new list of words with the given words in the same order. | words = ["Python", "is", "fun"] | new_words = ["Python", "is", "fun"] | null |
Stručně shrň článek o tématu „Sandra Gasserová“ a uveď hlavní fakta. | **Sandra Gasserová**
Sandra Gasserová (* 27. července 1962) je bývalá švýcarská atletka, běžkyně, která se věnovala středním tratím. Sportovní kariéra Nejvíce úspěchů získala na evropských halových šampionátech v běhu na 1500 metrů – v roce 1984 skončila třetí, v roce 1987 zvítězila a v roce 1990 zkompletovala medailo... | null | |
null | null | null | José Manuel Moreno
José Manuel Moreno Fernández (3. srpna 1916, Buenos Aires – 26. srpna 1978, Merlo, Buenos Aires) byl argentinský fotbalista. Hrával na pozici útočníka. Měl přezdívku El Charro. V letech 1936–1950 hrál za reprezentační tým Argentiny, odehrál za něj 34 zápasů a vstřelil 19 branek. Třikrát s ním vyhrál... |
Summarize key facts about „Abdelhak Serhane“ clearly and accurately. | **Abdelhak Serhane**
Abdelhak Serhane (born in Sefrou in 1950) is a Moroccan novelist writing in French. Serhane grew up in the Middle Atlas region of Morocco, in the village Azrou. Early life He studied psychology at the University of Toulouse II and taught at the University Ibn Tofail in Kénitra, Morocco before he w... | null | |
What is 18 - 6? | 18 - 6 = 12 | null | |
Write a code to replace all the "A"s in the string with a "#". | sentence = "Hello WAAorld" | def replace_A(sentence): return sentence.replace('A','#') if __name__ == '__main__': print(replace_A(sentence)) | null |
Create a Bash function that takes an integer as input and prints out the corresponding ASCII character. | 97 | function print_ascii(){ echo "$(printf '\x%x' "$1")" } print_ascii "$1" | null |
null | null | null | Liquid Tension Experiment
Liquid Tension Experiment je americký rockový projekt, který se věnuje instrumentální rockové hudbě. Tohoto projektu se zúčastnili členové skupiny Dream Theater: John Petrucci (kytara), Jordan Rudess (klávesy) a Mike Portnoy (bicí) spolu se studiovým hudebníkem Tony Levinem (baskytara). Liqui... |
Create a program in Java that outputs a Fibonacci series of length n. | public class Fibonacci { // Function to print the nth // fibonacci number static void printFibonacciSeries(int n) { int a = 0, b = 1, c; if (n == 0) { System.out.print(a); return; } for (int i = 2; i <= n; i++) { c = a + b; System.out.print(c + " "); a = b; b = c; } } // Driver Code public static void main(String[] arg... | null | |
Create a regular expression pattern to match a string composed of lowercase letters "a" through "e", with no other characters. | pattern = '^[a-e]*$' | null | |
null | null | null | System under test
System under test (SUT) refers to a system that is being tested for correct operation. According to ISTQB it is the test object. From a unit testing perspective, the system under test represents all of the classes in a test that are not predefined pieces of code like stubs or even mocks. Each one of ... |
Design a function to retrieve the records from a nested json structure. | { "products": { "book": { "title": "Alice in Wonderland", "author": "Lewis Carol" }, "movie": { "title": "The Godfather", "director": "Francis Ford Coppola" } } } | def parseJSON(input_json): book_record = input_json["products"]["book"] movie_record = input_json["products"]["movie"] book_title = book_record["title"] book_author = book_record["author"] movie_title = movie_record["title"] movie_director = movie_record["director"] return book_title, book_author, movie_title, movie_di... | null |
Stručně shrň článek o tématu „Světový pohár v běhu na lyžích 1989/1990“ a uveď hlavní fakta. | **Světový pohár v běhu na lyžích 1989/1990**
Světový pohár v běhu na lyžích 1989/90 byl devátým ročníkem Světového poháru v běhu na lyžích pod záštitou Mezinárodní lyžařské federace (FIS). Muži i ženy odjeli celkem 11 individuálních závodů, k tomu muži 5 štafet, ženy dokonce 6 štafet. Celkovými vítězi se stali Nor Veg... | null | |
Summarize key facts about „Roman Geszlecht“ clearly and accurately. | **Roman Geszlecht**
Roman Geszlecht (born 28 December 1961) is a Polish footballer. He played in four matches for the Poland national football team in 1981. References External links 1961 births Living people Polish men's footballers Poland men's international footballers Men's association football defenders Footballe... | null | |
Ukaž PHP — json response. | ```php function json_out($data, int $code=200): void { http_response_code($code); header('Content-Type: application/json; charset=utf-8'); echo json_encode($data, JSON_UNESCAPED_UNICODE); } ``` | null | |
Construct a code to check if an input string is a palindrome. | s = "racecar" | def check_palindrome(s): return s == s[::-1] check_palindrome(s) | null |
null | null | null | Mechanická energie
Mechanická energie je skalární fyzikální veličina, která vyjadřuje míru schopnosti tělesa konat mechanickou práci, tzn. působit silou na jiné těleso a posouvat jej po určité dráze. Mechanická energie je jeden z mnoha druhů energie. Mechanickou energii mají: tělesa, která se vzájemně pohybují - kinet... |
Stručně shrň článek o tématu „29. duben“ a uveď hlavní fakta. | **29. duben**
29. duben je 119. den roku podle gregoriánského kalendáře (120. v přestupném roce). Do konce roku zbývá 246 dní. Svátek má Robert. Události Česko 1086 – Císař Jindřich IV. vydal v Řezně listinu, jíž potvrdil hranice pražského biskupství. Tato písemnost obsahuje nejobsáhlejší geografický popis okrajových ... | null | |
null | null | null | Re d'Italia
Re d'Italia byla pancéřová šroubová fregata I. stupně italského královského námořnictva. Její sesterskou lodí byla fregata Re di Portogallo. Obě lodi postavila americká loděnice W. H. Webb v New Yorku. Pod velením kapitána 1. třídy Faà di Bruno byla nasazena při ostřelování ostrova Vis ve dnech 18.–19. čer... |
Stručně shrň článek o tématu „Fritz Walter“ a uveď hlavní fakta. | **Fritz Walter**
Friedrich „Fritz“ Walter (31. října 1920, Kaiserslautern – 17. června 2002, Enkenbach-Alsenborn) byl německý fotbalista. Hrával na pozici útočníka či ofenzivního záložníka. Figuruje na seznamu UEFA Jubilee 52 Golden Players. S reprezentací bývalého Západního Německa se stal mistrem světa v roce 1954. ... | null | |
Validate a credit card number. | 378734493671000 | true | null |
Spočítej 13×5 | 13 × 5 = 65 | null | |
Create a function to detect if two given strings are anagrams or not. | str1 = 'abc' str2 = 'bac' | def is_anagram(str1, str2): word1 = ''.join(sorted(str1)) word2 = ''.join(sorted(str2)) if word1 == word2: return True return False result = is_anagram(str1, str2) print("Is anagram:", result) | null |
null | null | null | Kryčaŭ
Kryčaŭ (, – Kričev) je město v Mohylevské oblasti v Bělorusku, správní středisko Kryčaŭského rajónu. K roku 2017 mělo zhruba šestadvacet tisíc obyvatel. Poloha a doprava Město leží na východě státu na řece Soži, levém přítoku Dněpru. Bělorusko-ruská státní hranice prochází jen zhruba dvacet kilometrů severových... |
Stručně shrň článek o tématu „Francie“ a uveď hlavní fakta. | **Francie**
Francie ( ), plným názvem Francouzská republika ( ), je stát, jehož většina území (někdy označovaná jako metropolitní Francie) se nachází v západní Evropě. Francouzskou republiku tvoří i tzv. zámořská Francie, která zahrnuje území v Karibiku, Severní a Jižní Americe, v Indickém oceánu a Oceánii. Francouzi ... | null | |
Přelož do češtiny: I need help with a bug. | Potřebuju pomoct s bugem. | null | |
Fill in the blanks in the following SQL query to select the names of customers who have placed more than one order. | SELECT customer_name FROM Orders WHERE order_count __________ 1 | SELECT customer_name FROM Orders WHERE order_count > 1 | null |
dobrý den | Ahoj! Jak ti můžu pomoct? | null | |
Stručně shrň článek o tématu „David J. Wineland“ a uveď hlavní fakta. | **David J. Wineland**
David Jeffrey Wineland (* 24. únor 1944, Milwaukee) je americký fyzik. Pracuje v americkém Národním institutu standardů a technologie. Jeho hlavní oblastí zájmu je optika, využití laserové techniky a rozvíjení kvantového počítače. Roku 2012 získal spolu se Sergem Harochem Nobelovu cenu za fyziku,... | null | |
Napiš JS: vrať pole čísel 1..18. | ```javascript const nums = Array.from({length: 18}, (_, i) => i + 1); ``` | null | |
Summarize key facts about „Piaz Kesh“ clearly and accurately. | **Piaz Kesh**
Piaz Kesh (, also Romanized as Pīāz Kesh) is a village in Chehel Shahid Rural District, in the Central District of Ramsar County, Mazandaran Province, Iran. At the 2006 census, its population was 251, in 58 families. References Populated places in Ramsar County | null | |
null | null | null | Joan Junceda
Joan Junceda, full name Joan García Junceda i Supervia (1881 in Barcelona – 1948 in Blanes), was one of the most important Catalan artists and illustrators in the first half of the 20th century. His father was from Asturian origin. Junceda worked in many publications, including ¡Cu-Cut!, Papitu, Picarol a... |
Modify the existing code so it prints out the numbers from 0 to 10 in reverser order. | for (let i = 0; i < 10; i++) { console.log(i); } | for (let i = 10; i >= 0; i--) { console.log(i); } | null |
Kolik je 25 - 5? | 25 - 5 = 20 | null | |
Stručně shrň článek o tématu „Nadine Beiler“ a uveď hlavní fakta. | **Nadine Beiler**
Nadine Beiler (* 27. května 1990, Inzing, Tyrolsko) je rakouská popová a R&B zpěvačka. Je známá coby vítězka třetí série rakouské pěvecké soutěže Starmania (2007) a reprezentantka Rakouska na Eurovision Song Contest 2011 v Düsseldorfu, kde s písní "The Secret Is Love" obsadila 18. místo se ziskem 64 ... | null | |
Generate a Python class definition for a pig object that includes the following properties. | name: string color: string age: integer | class Pig(object): def __init__(self, name, color, age): self.name = name self.color = color self.age = age def set_name(self, name): self.name = name def set_color(self, color): self.color = color def set_age(self, age): self.age = age | null |
Convert the following code from if/else to a ternary operator and output the result as a string. | if age > 18: verdict = "Adult" else: verdict = "Minor" | verdict = "Adult" if age > 18 else "Minor" | null |
Create a JavaScript code snippet to check if a given number is odd. | Number = 21 | function isOdd(num) { if (num % 2 !== 0) { return true; } return false; } // Output console.log(isOdd(21)); // Output: true | null |
Write a SQL statement to retrieve the first three customers from a table. | SELECT * FROM Customers LIMIT 3; | null | |
Summarize key facts about „Ndamba people“ clearly and accurately. | **Ndamba people**
The Ndamba are an ethnic and linguistic group based in south-central Tanzania whose population was 500,000 in 2022. They are found in everywhere in Tanzania especially south central, the Kilolo District of Iringa Region, northeast of Bena, southeast of Hehe, west of Pogolo and southwest of Mbunga. La... | null | |
Create a for loop that prints the following output: | for i in range(10): print(i) | null | |
Create a drop-down list with menu items in HTML. | List Items: Home, About Us, Contact Us, Careers | <select> <option value="Home">Home</option> <option value="AboutUs">About Us</option> <option value="ContactUs">Contact Us</option> <option value="Careers">Careers</option> </select> | null |
Create an application to hide certain words in a text. | Text: "The quick brown fox jumped over the lazy dog." Words to hide: ["fox", "dog"] | const censoredText = (text, wordsToHide) => { const wordsArr = text.split(' '); wordsArr.forEach((word, index) => { if (wordsToHide.includes(word)) { wordsArr[index] = '*'.repeat(word.length) } }); return wordsArr.join(' '); } censoredText("The quick brown fox jumped over the lazy dog.", ["fox", "dog"]); // The quick b... | null |
Create an array in JavaScript of objects, each with a name key and a value of a random number. | let array = []; for (let i = 0; i < 10; i++) { let randomNumber = Math.floor(Math.random() * 100); let obj = { name: `element ${i + 1}`, value: randomNumber }; array.push(obj); } console.log(array); | null | |
Write a script in Java for printing the first n Fibonacci numbers. | public class Fibonacci { static int fib(int n) { int f[] = new int[n+2]; // 1 extra to handle case, n = 0 int i; /* 0th and 1st number of the series are 0 and 1*/ f[0] = 0; f[1] = 1; for (i = 2; i <= n; i++) { f[i] = f[i-1] + f[i-2]; } return f[n]; } public static void main (String args[]) { int n = 5; System.out.print... | null | |
Summarize key facts about „2005 Fed Cup Asia/Oceania Zone Group II – Pool“ clearly and accurately. | **2005 Fed Cup Asia/Oceania Zone Group II – Pool**
The Pool of the 2005 Fed Cup Asia/Oceania Zone Group II composed of four teams competing in a round robin competition. The top two teams qualifying for Group I next year. Uzbekistan vs. Philippines Syria vs. Turkmenistan Uzbekistan vs. Syria Philippines vs. Turkmenist... | null | |
Create an HTML page that includes a form. | The form should have inputs for a first name, last name, email, favorite color, and a submit button. | <html> <body> <form action="" method="post"> First Name: <input type="text" name="firstname"><br> Last Name: <input type="text" name="lastname"><br> Email: <input type="text" name="email"><br> Favorite Color: <input type="text" name="favoritecolor"><br> <input type="submit" value="Submit"> </form> </body> </html> | null |
Use Numpy or Pandas to calculate the mean of the following array. | array = [3, 4, 8, 10, 14] | import numpy as np mean = np.mean(array) print(mean) | null |
Summarize key facts about „Rashulangeh“ clearly and accurately. | **Rashulangeh**
Rashulangeh (, also Romanized as Rashūlangeh and Rashū Langeh) is a village in Sakht Sar Rural District, in the Central District of Ramsar County, Mazandaran Province, Iran. At the 2006 census, its population was 15, in 5 families. References Populated places in Ramsar County | null | |
null | null | null | Visa policy of Tajikistan
Visitors to Tajikistan must obtain a visa from one of the Tajikistan diplomatic missions unless they come from one of the visa exempt countries or countries whose citizens are eligible for an electronic visa. Visa policy map Visa exemption Tajikistan introduced an unilateral 30-day visa waive... |
null | null | null | New York State Route 424
New York State Route 424 (NY 424) was an east–west state highway in northern Chautauqua County, New York, in the United States. The route began at an intersection with NY 380 (now County Route 380 or CR 380) in the town of Stockton and ended at a junction with NY 60 in the village of Cassadaga... |
Stručně shrň článek o tématu „Tamara Kobová“ a uveď hlavní fakta. | **Tamara Kobová**
Tamara Koboová (* 24. února 1957) je bývalá sovětská atletka, běžkyně, původem z Ukrajiny, která se věnovala středním tratím. Sportovní kariéra Při svém mezinárodním debutu v roce 1980 se stala halovou mistryní Evropy v běhu na 1500 metrů. V pozdějších letech se věnovala (už jako reprezentantka Ukraj... | null | |
How to make an http request in Python | import requests r = requests.get('http://www.example.com/') print(r.text) | null | |
Summarize key facts about „Montrose Mausoleum“ clearly and accurately. | **Montrose Mausoleum**
Montrose Mausoleum is located in the Scottish village of Aberuthven, Perth and Kinross. Dating to 1736, it is a Category A listed building. It stands in the kirkyard of St Kattan's Church. It is believed architect William Adam allowed his 15-year-old son, John, to do some work on the structure, ... | null | |
Kolik je 12 × 11? | 12 × 11 = 132 | null | |
Write a SQL query to find the most expensive item in the table. | SELECT * FROM items ORDER BY price DESC LIMIT 1; | null | |
null | null | null | Knížecí Studánky
Knížecí Studánky jsou hájovna a přilehlá studánka v brdských lesích nedaleko Stožce. Hájovna se nachází na křižovatce cest z Voznice, Stožce a Dobříše nedaleko hranice obory Aglaja. Studánka se nachází přibližně sto metrů severně od hájenky. Do studánky je voda přiváděna téměř 300 metrů dlouhým povrch... |
How can we sort a given list of integers in ascending order? | def sort_list(lst): return sorted(lst) | null | |
Co je gravitační zrychlení na Zemi přibližně? | Asi 9,8 m/s². | null | |
Kolik je 22 - 6? | 22 - 6 = 16 | null | |
Create a React application with a registration form. | The React application should have a registration form that includes fields for the user's name, email address, password and repeat password. The form should also display an appropriate message when the user provides invalid input or leaves a particular field blank. Additionally, the form should also display a "Submit" ... | null | |
Calculate the average of the numbers in the given list. | numbers = [2, 10, 15, 20, 25, 30] | The average of the numbers in the given list is 17.5. | null |
Create a function that takes an array and prints out the biggest number in it. | [1, 7, 2, 11, 4] | def find_max_num(nums_list): """This function takes an array and prints out the biggest number in it.""" max_num = nums_list[0] for num in nums_list: if num > max_num: max_num = num return max_num nums_list = [1, 7, 2, 11, 4] print(find_max_num(nums_list)) | null |
null | null | null | Pizza theorem
In elementary geometry, the pizza theorem states the equality of two areas that arise when one partitions a disk in a certain way. The theorem is so called because it mimics a traditional pizza slicing technique. It shows that if two people share a pizza sliced into 8 pieces (or any multiple of 4 greater... |
What algorithm should be used for predicting the output for a given input? | The type of algorithm to be used for predicting the output for a given input depends on the complexity of the task. Common algorithms used for prediction tasks include Support Vector Machines, Random Forests, k-Nearest Neighbors and Artificial Neural Networks. | null | |
null | null | null | Ján Tibenský
Ján Tibenský (26. srpna 1923 Budmerice – 11. května 2012 Bratislava) byl slovenský historik. Život V roce 1948 dokončil Filozofickou fakultu Slovenské univerzity v Bratislavě. V letech 1951–1986 pracoval v slovenské akadaemii věd (SAVU, poté SAV). Důležité bylo jeho dle na poli slovenského národního obroz... |
Create a bash script to concatenate two given strings. | string1="Hello" string2="World" | #!/bin/bash string1="Hello" string2="World" echo $string1$string2 | null |
Summarize key facts about „Impact of the COVID-19 pandemic on the telehealth industry“ clearly and accurately. | **Impact of the COVID-19 pandemic on the telehealth industry**
Telehealth is the practice of providing healthcare via communication between the healthcare practitioner and the patient through electronic (virtual) methods such as telephones, smartphones, tablets, and computers. Telehealth permits patients to communicat... | null | |
null | null | null | Abuite
Abuit je nově objevený minerál ze skupiny fosfátů, schválený jako nový minerál roku 2015. Pojmenován je podle místa nálezu, a to města Abu v Japonsku. Vznik Na hydrotermálně alterovaných horninách, felzických pyroklastikách spjatých s biotit-ortoklasem nabohacenými tonality. Vlastnosti Fyzikální vlastnosti: Tvr... |
Mám pomalý Python kód v cyklu. Co zkusit první? | 1) Změř hotspoty (`cProfile`, `time`). 2) Nahraď čisté Python smyčky NumPy/pandas, pokud jde o čísla. 3) Cache opakované výpočty. 4) Vyhni se zbytečným alokacím v těle smyčky. | null |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.