instruction stringlengths 2 259 ⌀ | input stringlengths 0 442 ⌀ | output stringlengths 1 1.9k ⌀ | text stringlengths 273 2.08k ⌀ |
|---|---|---|---|
Summarize key facts about „Jason Gorber“ clearly and accurately. | **Jason Gorber**
Jason Gorber is a Canadian film critic and interviewer based in Toronto. He is a featured reviewer on the CTV News Channel, where he has a weekly review segment on Sunday nights. In 2013, he began hosting a weekend movie program on the Oprah Winfrey Network (OWN) in Canada. Gorber is a featured critic... | null | |
Write a Java program to print out the lyrics of the song “Mary Had a Little Lamb”. | public class Lyrics { public static void main(String[] args) { System.out.println("Mary had a little lamb,"); System.out.println("Little lamb, little lamb,"); System.out.println("Mary had a little lamb,"); System.out.println("Its fleece was white as snow."); System.out.println(); System.out.println("And everywhere that... | null | |
Identify the salient feature in the given piece of code. | def func(x, y): z = x + y print(z) return x - y | The salient feature of the given code is that it both prints a result and returns a value. | null |
Přelož do češtiny: The train leaves at noon. | Vlak odjíždí v poledne. | null | |
null | null | null | Miroslav Štěpánek (rozcestník)
Miroslav Štěpánek je jméno více osob: Miroslav Štěpánek (1923–2005) – český režisér, výtvarník, scenárista Miroslav Štěpánek (historik) (1934–2005) – český historik, archeolog, encyklopedista Miroslav Štěpánek (fotbalista) (* 1990) – český fotbalista Související články Štěpánek |
null | null | null | Čtvrtá vláda Angely Merkelové
Čtvrtá vláda Angely Merkelové byla koaliční vláda Spolkové republiky Německo do 8. prosince 2021. Stejně jako předchozí kabinet byla vytvořena jako aliance Křesťanskodemokratické unie (CDU) a Křesťansko-sociální unie Bavorska (CSU) se Sociálně demokratickou stranou Německa (SPD) pod veden... |
Summarize key facts about „Gabriel Sempé“ clearly and accurately. | **Gabriel Sempé**
Gabriel Sempé (2 April 1901 – 24 February 1990) was a French athlete. He competed in the 110 m hurdles at the 1924 and 1928 Summer Olympics, but failed to reach the finals; in 1924 he also did not finish his decathlon programme. References 1901 births 1990 deaths Sportspeople from Tarbes French male ... | null | |
null | null | null | Mamiya C220
The Mamiya C220 is a lightweight twin-lens reflex camera made in the early 1970s by the Japanese camera manufacturer Mamiya. The camera has interchangeable lenses ranging from 55 mm wide-angle to 250 mm telephoto and accepts 120 and 220 rollfilms. The rack and pinion focusing system with a bellows makes it... |
Spočítej: 10 + 5 = ? | 10 + 5 = 15 | null | |
Summarize key facts about „Bruno Sanfilippo“ clearly and accurately. | **Bruno Sanfilippo**
Bruno Sanfilippo (born September 13, 1965) is an Argentine pianist and composer from Buenos Aires, Argentina. He currently resides in Barcelona, Spain. His sound has been described as an exploration of minimalist piano concepts and electroacoustic music. In 2015, he became one of the main exponent... | null | |
Ukaž Python kód — csv avg. | ```python import csv def avg_col(path, col): with open(path, newline='', encoding='utf-8') as f: vals = [float(r[col]) for r in csv.DictReader(f)] return sum(vals)/len(vals) if vals else 0.0 ``` | null | |
Summarize key facts about „Bobby Donald“ clearly and accurately. | **Bobby Donald**
Robert William Donald (10 March 1894 – 16 May 1962) was an Australian rules footballer who played with St Kilda and Essendon in the Victorian Football League (VFL). Notes External links 1894 births 1962 deaths Australian rules footballers from Melbourne St Kilda Football Club players Essendon Football... | null | |
Stručně shrň článek o tématu „Rodinný krb“ a uveď hlavní fakta. | **Rodinný krb**
Rodinný krb (originální název Domicile conjugal) je francouzský film. Velmi se podobá předchozímu snímku doinelovského cyklu – Ukradeným polibkům. Děj Antoine Doinel (Jean-Pierre Léaud) ženatý s Christine (Claude Jade), učitelkou hudby. Čekají dítě. Ve svém novém zaměstnání se Antoine setkává s femme f... | null | |
Stručně shrň článek o tématu „Rue (Somme)“ a uveď hlavní fakta. | **Rue (Somme)**
Rue je francouzská obec v departementu Somme v regionu Hauts-de-France. V roce 2010 zde žilo 3 145 obyvatel. Je centrem kantonu Rue. Vývoj počtu obyvatel Související články Seznam obcí v departementu Somme Externí odkazy Reference Obce v departementu Somme | null | |
null | null | null | TAFLIR
TAFLIR is the abbreviation for the "Tactical Flight Radar" of the Swiss Air Force. TAFLIR is used to improve the Recognized Air Picture and to support air traffic control and air surveillance of the Swiss Air Force. Background The topography of Switzerland is such that certain areas and even radar shadows do no... |
Input an array and remove all duplicates from the given array. | arr = [1, 2, 3, 1, 2] | def remove_duplicates(arr): result = [] for item in arr: if item not in result: result.append(item) return result print(remove_duplicates(arr)) # Output: [1, 2, 3] | null |
Stručně shrň článek o tématu „Senoni“ a uveď hlavní fakta. | **Senoni**
Senoni (starořecky: Σήνωνες) byl starověký keltský kmen, který v druhé polovině tisíciletí př. n. l. obýval Apeninský poloostrov a je známý také z období galských válek. Senoni v Itálii Podle legendy se tento kmen připojil k Bellovesově migraci do Itálie, společně s Aedui, Ambarry, Arverny, Aulerky a Carnut... | null | |
null | null | null | Bouillotte
Bouillotte is an 18th-century French gambling card game of the Revolution based on Brelan, very popular during the 19th century in France and again for some years from 1830. It was also popular in America. The game is regarded as one of the games that influenced the open-card stud variation in poker. The ru... |
Write an algorithm in Python which reads a string and reorders it alphabetically. | string s = 'dcba' | def reorder_string(s): s = sorted(s) return ''.join(s) print(reorder_string('dcba')) | null |
Write an algorithm that takes in two integers and returns true if they are evenly divisible. | def is_evenly_divisible(x, y): return x % y == 0 | null | |
Modify the following function to print out the 'type' of each argument. | def print_args(arg1, arg2): print("Arg 1: %s" % arg1) print("Arg 2: %s" % arg2) | def print_args(arg1, arg2): print("Arg 1: %s" % str(type(arg1))) print("Arg 2: %s" % str(type(arg2))) print("Arg 1: %s" % arg1) print("Arg 2: %s" % arg2) | null |
Edit the following for loop to add a counter that tracks the number of iterations of the loop. | for i in range(10): print(i) | counter = 0 for i in range(10): print(i) counter += 1 print(f"Number of iterations: {counter}") | null |
Summarize key facts about „Mahmud II of Johor“ clearly and accurately. | **Mahmud II of Johor**
Paduka Sri Sultan Mahmud Syah II ibni al-Marhum Sultan Ibrahim Syah (1675 or 1680 – 1699) was the Sultan of Johor, Pahang and Lingga (1685 – 3 September 1699). As he was young upon assumption of the throne, regents oversaw the affairs of state in Johor until the death of the Bendahara, a high of... | null | |
Summarize key facts about „Urenui River“ clearly and accurately. | **Urenui River**
The Urenui River is a river of the Taranaki Region of New Zealand's North Island. It flows northeast before turning northwest to reach the coast at Urenui. See also List of rivers of New Zealand References Rivers of Taranaki Rivers of New Zealand | null | |
Kolik je 22 × 8? | 22 × 8 = 176 | null | |
Write a function that, given a binary tree, prints all of its element "level by level". | 1 / \ 2 3 / \ / \ 4 5 6 7 | // Code to print elements of a binary tree by level // A utility function to print all nodes at a given level void printGivenLevel (struct node* root , int level) { if (root == NULL) return; if (level == 1) printf("%d ", root->data); else if (level > 1) { printGivenLevel(root->left, level-1); printGivenLevel(root->righ... | null |
Ukaž čistý kód: seřadí klíče slovníku. Pojmenuj funkci `dict_keys`. | ```python def sorted_keys(d: dict) -> list: return sorted(d.keys()) ``` | null | |
Given an array of integers, find the longest subarray with total sum less than the given sum. | arr = [1, -2, 2, 4, 3], sum = 3 | arr = [1, -2, 2, 4, 3] sum = 3 # create an empty list to store the longest subarray longest = [] # loop through the array for i in range(len(arr)): # set the sum of current subarray to 0 curr_sum = 0 # another loop to check if any subarray of the array # has a sum less than the given sum for j in range(i, len(arr)): cu... | null |
Spočítej 5×9 | 5 × 9 = 45 | null | |
Spočítej: 8 + 4 = ? | 8 + 4 = 12 | null | |
Write a Python function `to_upper` that převod na velká písmena. | ```python def to_upper(s: str) -> str: return s.upper() ``` | null | |
null | null | null | Yonatan Irrazábal
Yonatan Irrazábal Condines (born 12 February 1988) is a Uruguayan footballer who plays as a goalkeeper for Rentistas in the Uruguayan Primera División. Career Tampico Madero In November 2018, Irrazábal moved to Mexican club Tampico Madero. He made his league debut for the club on 13 January 2019 in a... |
null | null | null | Rudolf Hromada
Rudolf Hromada (9. listopadu 1890 Praha– 26. října 1964 ?) byl autorem esperantských slovníků a překládal do esperanta české autory, především básníky. Život Profesí vedoucí úředník. Překládal ze všech českých básníků (Erbena, Sv. Čecha, Machara, Heyduka, Sládka, Vrchlického, Wolkera, Dyka, Seiferta, So... |
Given a string of length N, create an HTML table with N rows and 4 columns. | string = "Hello World" | <table> <tr> <td>H</td> <td>e</td> <td>l</td> <td>l</td> </tr> <tr> <td>o</td> <td> </td> <td>W</td> <td>o</td> </tr> <tr> <td>r</td> <td>l</td> <td>d</td> <td> </td> </tr> </table> | null |
Summarize key facts about „Streptogrisin A“ clearly and accurately. | **Streptogrisin A**
Streptogrisin A (, Streptomyces griseus protease A, protease A, proteinase A, Streptomyces griseus proteinase A, Streptomyces griseus serine proteinase 3, Streptomyces griseus serine proteinase A) is an enzyme. This enzyme catalyses the following chemical reaction Hydrolysis of proteins with specif... | null | |
Summarize key facts about „Pak Hui-jin“ clearly and accurately. | **Pak Hui-jin**
Pak Huijin (, December 4, 1931 – March 31, 2015) was a South Korean poet. Life Pak Huijin was born in Gyeonggi Province in Korea in 1931, during the period of Japanese colonial rule. In 1956 at the age of 25, three of his poems were recommended to the arts journal Literary Art (문학예술), thus beginning hi... | null | |
null | null | null | Belgie
Belgie (, , ), plným názvem Belgické království, je federativní konstituční monarchie ležící v západní Evropě. Belgie hraničí s Francií (620 km) na jihu, s Lucemburskem (148 km) a Německem (167 km) na východě a s Nizozemskem (450 km) na severu. Ze severozápadu omývá Belgii Severní moře (66 km). Rozkládá se na p... |
Create a JavaScript program to validate the username entered by the user. | function validateUsername(username) { let rx = new RegExp('^[A-Za-z0-9_]{3,20}$'); return rx.test(username); } | null | |
Spočítej 3×10 | 3 × 10 = 30 | null | |
Stručně shrň článek o tématu „Salza (přítok Ennsu)“ a uveď hlavní fakta. | **Salza (přítok Ennsu)**
Salza je horská řeka v Rakousku (Štýrsko). Celková délka toku je 88 km. Průběh toku Salza teče všeobecně západním směrem. Protéká Mariazellem, u Großreiflingu ústí do Enže. Využití Na řece je několik menších vodních elektráren. Salza je velmi známá především mezi vodáky. Sjíždí se již úsek od ... | null | |
Summarize key facts about „Freddie Joe Nunn“ clearly and accurately. | **Freddie Joe Nunn**
Freddie Joe Nunn (April 9, 1962 October 16, 2021) was an American former professional football player who was selected by the St. Louis Cardinals in the first round (18th overall) of the 1985 NFL Draft. He started his career as a defensive end and later moved to the linebacker position. He played ... | null | |
Stručně shrň článek o tématu „Kapalnění“ a uveď hlavní fakta. | **Kapalnění**
Kapalnění neboli kondenzace je skupenská přeměna, při které se plyn mění na kapalinu. Kondenzace (kapalnění) je děj, který je opakem vypařování. Vlastnosti Zkapalněné plyny, zvláště pak dusík a hélium, se používají jako chladicí médium např. v lékařství, pro chlazení detektorů záření, supravodivých cívek... | null | |
Summarize key facts about „Meza (butterfly)“ clearly and accurately. | **Meza (butterfly)**
Meza is a genus of skippers in the family Hesperiidae. Species Meza banda (Evans, 1937) Meza cybeutes (Holland, 1894) Meza elba (Evans, 1937) Meza gardineri Collins & Larsen, 2008 Meza indusiata (Mabille, 1891) Meza larea (Neave, 1910) Meza leucophaea (Holland, 1894) Meza mabea (Holland, 1894) Mez... | null | |
Design a program to find all prime numbers up to a given limit n. | def find_primes(limit): """ @brief: Finds all prime numbers up to a given limit n @param limit: the upper limit to find prime numbers @return: a list of all prime numbers found """ primes = [] for n in range(2, limit + 1): is_prime = True for prime in primes: if n % prime == 0: is_prime = False break if is_prime: prime... | null | |
Napiš v Pythonu: merge dicts. | ```python def merge(a, b): return {**a, **b} ``` | null | |
Develop a high-level algorithm for pathfinding. | def find_path(start, end): # Create an empty list to store the path path = [] # Create a dictionary to store visited nodes visited = {start: None} # Create a queue and add the initial space to it queue = [start] # Keep looping until the queue is empty while len(queue) > 0: # Get the first element in the queue curr = qu... | null | |
Stručně shrň článek o tématu „Maurizio De Jorio“ a uveď hlavní fakta. | **Maurizio De Jorio**
Maurizio De Jorio (* 1967) je italský zpěvák stylu eurobeat a italo disco, bývalý člen Delta labelu, který ale opustil a začal pracovat s labelem SinclaireStyle. Jeho popularita vrcholila v 90. letech 20. století. Maurizio De Jorio je známý i jako "Max Coveri" (tento pseudonym ale používali i jin... | null | |
Summarize key facts about „Dyspessa“ clearly and accurately. | **Dyspessa**
Dyspessa is a genus of moths belonging to the family Cossidae. It was described by Jacob Hübner in 1820. Selected species Dyspessa aculeata Turati, 1909 Dyspessa affinis Rothschild, 1912 Dyspessa albina Rothschild, 1912 Dyspessa albosignata Rothschild, 1912 Dyspessa algeriensis (Rambur, 1858) Dyspessa ali... | null | |
Summarize key facts about „Stadio Alberto Pinto“ clearly and accurately. | **Stadio Alberto Pinto**
The Stadio Alberto Pinto is a municipal stadium in Caserta, Italy, located in the eastern part of the city and home ground of football team Casertana. Owned by the Municipality of Caserta, it is primarily used for football matches, athletics and pop music concerts. It has a capacity of 12,000 ... | null | |
What is DNA? | Deoxyribonucleic acid — the molecule that stores genetic information in living organisms. | null | |
null | null | null | The Scorching Adventures of the Screaming Jets
The Scorching Adventures of the Screaming Jets EP is the debut release by Australian pub rock band The Screaming Jets, released in December 1990. The Screaming Jets won a national Battle of the Bands contest run by the Triple J network in 1989 and won time in a recording ... |
Create a HTML function that changes the color of a given element. | function changeColor(element, color){ element.style.backgroundColor = color; } | null | |
Write a Kotlin class to represent a book. It should contain the title, author name, year of publication and ISBN. | class Book { private var title: String private var authorName: String private var yearOfPublication: Int private var ISBN: String constructor(title: String, authorName: String, yearOfPublication: Int, ISBN: String) { this.title = title this.authorName = authorName this.yearOfPublication = yearOfPublication this.ISBN = ... | null | |
Stručně shrň článek o tématu „Sojuz TMA-16“ a uveď hlavní fakta. | **Sojuz TMA-16**
Sojuz TMA-16 je ruská kosmická loď řady Sojuz k Mezinárodní vesmírné stanici (ISS), kam dopravila dva členy Expedice 21 a na nějakou dobu posledního „vesmírného turistu“. Posádka Maxim Surajev (1), velitel, CPK Jeffrey Williams (3), palubní inženýr, NASA Pouze start Guy Laliberté (1), účastník kosmick... | null | |
null | null | null | List of rulers of Jimma
The following is a list of rulers of the Kingdom of Jimma. Jimma was one of the five oromo Gibe kingdoms in the Gibe region of Ethiopia that emerged in the 19th century. List of Rulers of the Gibe Kingdom of Jimma Moti = Rulers Horse names in parentheses See also Monarchies of Ethiopia Rulers a... |
Given the different test scores in the list, calculate the GPA. | [('DS', 98), ('OS', 95), ('SE', 85), ('ML', 80)] | GPA: 89.25 | null |
Summarize key facts about „North Weald Airfield“ clearly and accurately. | **North Weald Airfield**
North Weald Airfield is an operational general aviation aerodrome, in the civil parish of North Weald Bassett in Epping Forest, Essex, England. It was an important fighter station during the Battle of Britain, when it was known as the RAF Station RAF North Weald. It is the home of North Weald ... | null | |
Summarize key facts about „David Corbett (footballer, born 1940)“ clearly and accurately. | **David Corbett (footballer, born 1940)**
David Frank Corbett (15 April 1940 – 13 April 2020) was an English professional footballer who played as a right winger. Career Born in Marshfield, Corbett played for Marshfield, Swindon Town and Plymouth Argyle, making 152 appearances in the Football League. He retired at the... | null | |
Create a JavaScript program which takes an array of dates and returns the average date. | [2018-01-01, 2018-01-05, 2018-01-10] | function avgDate(dates) { let sum = 0; const dateLen = dates.length; for (let i = 0; i < dateLen; i++) { sum += Date.parse(dates[i]); } const avgDate = Date(); avgDate.setTime(sum / dateLen); return avgDate; } console.log(avgDate(["2018-01-01", "2018-01-05", "2018-01-10"])); // Output: Mon Jan 07 2019 00:00:00 GMT+0545... | null |
Spočítej: 11 + 4 = ? | 11 + 4 = 15 | null | |
Stručně shrň článek o tématu „Židovská čtvrť (Ivančice)“ a uveď hlavní fakta. | **Židovská čtvrť (Ivančice)**
Židovská čtvrť v Ivančicích je bývalé židovské sídliště na severním okraji historického jádra města Ivančice v okrese Brno-venkov. Je tvořena ulicemi Josefa Vávry, Ve Fortně a Jana Schwarze, nejsevernější částí Komenského náměstí a západní stranou Žerotínova náměstí. Od roku 1850 zde fung... | null | |
Stručně shrň článek o tématu „Alec Guinness“ a uveď hlavní fakta. | **Alec Guinness**
Sir Alec Guinness de Cuffe, ŘSC, ŘBI (2. dubna 1914 – 5. srpna 2000) byl britský divadelní a fillmový herec, známý charakterními i komediálními rolemi. Od 40. let hrál ve filmech, v 50. a 60. letech ztvárnil velké role v několika epických velkofilmech Davida Leana a v závěru kariéry ještě proslul mez... | null | |
Summarize key facts about „Dmitrii Sharafutdinov“ clearly and accurately. | **Dmitrii Sharafutdinov**
Dmitri Sarafutdinov (; born 16 September 1986 in Korkino), also known as Dmitrii Sharafutdinov, is a professional Russian rock climber specializing in bouldering climbing competitions. He has won three World Championships, in 2007, 2011 and 2012 and one Bouldering World Cup in 2013. Biography... | null | |
Compose a code to find the mean and median of a given list | [1, 6, 4, 9, 5, 8, 2] | def get_mean_median(nums): num_count = len(nums) num_sum = 0.0 for num in nums: num_sum += num mean = num_sum / num_count nums.sort() if num_count % 2 == 0: median1 = nums[num_count//2] median2 = nums[num_count//2 - 1] median = (median1 + median2)/2 else: median = nums[num_count//2] return mean, median | null |
Kdo jsi? | Jsem AI asistent KucLab V0.3. Pomáhám s češtinou, angličtinou a programováním (Python, JavaScript, HTML, PHP). | null | |
Spočítej: 17 + 7 = ? | 17 + 7 = 24 | null | |
How would you verify that a given string is a valid email address? | To verify that a given string is a valid email address, you should use a regular expression. A regular expression is a sequence of characters which can be used to check if the string matches a predefined pattern. The pattern for a valid email address should ensure that it contains the symbol "@" and at least one period... | null | |
Kolik je 18 × 5? | 18 × 5 = 90 | null | |
Reverse an array of integers using Python. | arr = [1, 2, 3, 4, 5] | arr = [1, 2, 3, 4, 5] # reversing the array arr.reverse() # print the reversed array print(arr) # Output: [5, 4, 3, 2, 1] | null |
Summarize key facts about „List of schools in Merthyr Tydfil County Borough“ clearly and accurately. | **List of schools in Merthyr Tydfil County Borough**
This is a list of schools in Merthyr Tydfil in Wales. English-medium primary schools Abercanaid Community School Bedlinog Community Primary School Brecon Road Infants School Caedraw Primary School Cyfarthfa Junior School Dowlais Primary School Edwardsville Primary S... | null | |
null | null | null | High Efficiency Image File Format
High Efficiency Image File Format (HEIF, někdy vyslovován []) je v informatice název formátu souboru (kontejneru) pro uložení samostatných obrázků nebo obrazových sekvencí. Byl vytvořen organizací MPEG (Moving Picture Experts Group), je definován jako MPEG-H Part 12 (ISO/IEC 23008-12)... |
Write a code that migrates data from one database to another | import MySQLdb import pymongo # Establishing the connection mysql mysql_con = MySQLdb.connect( <MySQL connection details> ) cursor = mysql_con.cursor() # Establishing the connection mongodb mongo_con = pymongo.MongoClient( <MongoDB connection details> ) db = mongo_con.mydatabase # Migrating the data cursor.execute( "SE... | null | |
Stručně shrň článek o tématu „Běh na 3000 metrů“ a uveď hlavní fakta. | **Běh na 3000 metrů**
Běh na 3000 metrů je atletická disciplína, patřící mezi střední tratě. Tato vzdálenost je pak považována za nejdelší střední trať. Je odvozena od 2 anglosaských mil, vzdálenosti rovné 3218,70 m. Patří mezi méně vypisované a běhané tratě, není součástí olympijských her ani atletických mistrovství ... | null | |
Determine whether the following statement returns true or false. | [1, 2, 3] > [4, 5, 6] | False | null |
null | null | null | Homerem zapomenuté děti
Homerem zapomenuté děti (v anglickém originále ) jsou 20. díl 12. řady (celkem 268.) amerického animovaného seriálu Simpsonovi. Scénář napsal Al Jean a díl režíroval Michael Polcino. V USA měl premiéru dne 13. května 2001 na stanici Fox Broadcasting Company a v Česku byl poprvé vysílán 7. ledna... |
Ahoj tam? | Ahoj! Co potřebuješ vyřešit? | null | |
Summarize key facts about „Tragic Kingdom“ clearly and accurately. | **Tragic Kingdom**
Tragic Kingdom is the third studio album by American rock band No Doubt, released on October 10, 1995, by Trauma Records and Interscope Records. It was the final album to feature original keyboardist Eric Stefani, who left the band in 1994. The album was produced by Matthew Wilder and recorded in 11... | null | |
null | null | null | Yule (rozcestník)
Yule může být: příjmení Henry Yule (1920–1879) – skotský orientalista George Yule (1829–1892) – britský obchodník Bob Yule (1920–1953) – novozélandský pilot Doug Yule (* 1947) – americký hudebník Billy Yule (* 1954) – americký bubeník možná hledáte jule – germánský svátek |
Using the input, classify whether the number is even or odd. | num = 5 | if num % 2 == 0 puts "The number is even" else puts "The number is odd" end | null |
Design a WebGL program to generate a snow flake effect in the browser. | The WebGL program would utilize shaders and particles to generate a snowflake effect in the browser. The vertex shader would compute the spherical coordinates of each snowflake particle, and the fragment shader would output a point representing each particle as a snowflake with the appropriate colors and depth. Additio... | null | |
Write a JavaScript function that returns that number of elements from an array of numbers which sum up to a given target. | array = [2, 3, 7, 8, 10] target = 11 | function findElementsSum(array, target){ let result = []; for (let i = 0; i < array.length; i++){ for (let j = i+1; j < array.length; j++){ if (array[i] + array[j] == target){ result.push([i, j]); } } } return result; } | null |
Co je open source? | Open source znamená, že je dostupný zdrojový kód a licence dovoluje studium i úpravy. | null | |
Summarize key facts about „Decimal system“ clearly and accurately. | **Decimal system**
Decimal system may refer to: Decimal (base ten) number system, used in mathematics for writing numbers and performing arithmetic Dewey Decimal System, a subject classification system used in libraries Decimal currency system, where each unit of currency can be divided into 100 (or 10 or 1000) sub-un... | null | |
Kolik je 14 × 4? | 14 × 4 = 56 | null | |
null | null | null | Bernard Sabrier
Bernard Sabrier, is a Swiss financial entrepreneur. Born on 12 February 1953, he took over the Geneva-based company Unigestion from his father in 1976 and established it as one of Europe’s leading managers of private equity, equities, and multi asset portfolios. In addition to driving Unigestion’s grow... |
Summarize key facts about „Johnny Duane“ clearly and accurately. | **Johnny Duane**
Johnny Duane (born 18 October 1991) is an Irish Gaelic football player from Galway. Duane plays club football for St James' and inter-county football for Galway. Duane was a key part of Galway's All-Ireland Under-21 Football Championship win in 2011. He made his senior debut in 2011 against Mayo in a ... | null | |
Take the input list and transform it to a dictionary where the keys are the elements of the list and the values equal to True. | my_list = ["apple", "banana", "strawberry"] | my_dict = { "apple": True, "banana": True, "strawberry": True } | null |
null | null | null | Kabir Andarabi
General Kadir Andarabi was one of the top commanders of Ahmed Shah Massoud's Jamiat-e Islami during the Civil War in Afghanistan. He was reported to have been involved in the Afshar Operation. Following the fall of the Taliban Kabir Andarabi was a senior ministry of defense commander stationed in Bagram... |
null | null | null | Domaine de la Romanée-Conti
Domaine de la Romanée-Conti, often abbreviated to DRC, is an estate in Burgundy, France that produces white and red wine. It is widely considered among the world's greatest wine producers, and DRC bottles are among the world's most expensive. It takes its name from the domaine's most famous... |
Identify the type of error in the below given syntax | a < 45 | Syntax Error. The correct syntax should be "a < 45". | null |
Create a program that implements a Stack (LIFO) using an array | class Stack: def __init__(self): self.stack = [] def push(self, item): self.stack.append(item) def pop(self): if self.is_empty(): return None return self.stack.pop() def is_empty(self): return len(self.stack) == 0 | null | |
Summarize key facts about „6th Guards Tank Brigade (United Kingdom)“ clearly and accurately. | **6th Guards Tank Brigade (United Kingdom)**
The 6th Guards Tank Brigade was an armoured brigade of the British Army during the Second World War formed from the Foot Guards in 1941 as the 6th Guards Armoured Brigade when the United Kingdom was under the threat of invasion and more armoured formations were required. Hi... | null | |
null | null | null | 2003–04 Getafe CF season
The 2003–04 season was Getafe CF's 21st season in existence as a football club. In addition to the domestic league, the club also competed in the Copa del Rey. Pre-season and friendlies Competitions Overall record Segunda División League table Results summary Results by round Matches Copa del ... |
Kolik je 10 × 6? | 10 × 6 = 60 | null | |
Generate a random string of 10 characters that contains only lowercase letters. | hcuqwhvqme | null | |
Create an array of objects with the following properties: firstname, lastname, age, gender. | [ { firstname: 'John', lastname: 'Doe', age: 25, gender: 'Male' }, { firstname: 'Jane', lastname: 'Doe', age: 28, gender: 'Female' } ] | [ { firstname: 'John', lastname: 'Doe', age: 25, gender: 'Male' }, { firstname: 'Jane', lastname: 'Doe', age: 28, gender: 'Female' } ] | null |
Summarize key facts about „Helen Ruth Henderson“ clearly and accurately. | **Helen Ruth Henderson**
Helen Ruth Henderson (November 9, 1898 – February 20, 1982) was a Virginia schoolteacher and politician. The daughter of Helen Timmons Henderson, she was elected to her mother's old seat in the Virginia House of Delegates, entering in 1928 and serving one term. This made the two the first moth... | null | |
Ukaž čistý Python kód: clamp value. | ```python def clamp(x, lo, hi): return max(lo, min(hi, x)) ``` | null | |
Stručně shrň článek o tématu „Spalovač mrtvol“ a uveď hlavní fakta. | **Spalovač mrtvol**
Spalovač mrtvol je československý film režiséra Juraje Herze z roku 1968, natočený podle stejnojmenné novely Ladislava Fukse. Jedná se o hororovou černou komedii, která je svým vyzněním řazená k následovníkům filmů německého expresionismu a k filmům československé nové vlny. Film byl za Českosloven... | null | |
Stručně shrň článek o tématu „Nerovnoměrný pohyb“ a uveď hlavní fakta. | **Nerovnoměrný pohyb**
Nerovnoměrný pohyb je druh pohybu, při němž se mění rychlost pohybu, tj. absolutní hodnota vektoru rychlosti. Dráha nerovnoměrného pohybu odpovídá stejně jako u pohybu rovnoměrného ploše v grafu časového průběhu rychlosti pohybu. Těleso vykonává nerovnoměrný pohyb, urazí-li během svého pohybu rů... | null |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.