instruction stringlengths 2 259 ⌀ | input stringlengths 0 442 ⌀ | output stringlengths 1 1.9k ⌀ | text stringlengths 273 2.08k ⌀ |
|---|---|---|---|
Ukaž čistý Python kód: flatten nested list one level. | ```python def flatten(xs): out = [] for x in xs: if isinstance(x, list): out.extend(x) else: out.append(x) return out ``` | null | |
Convert a number from decimal to octal in Python. | number = 109 | decimal = 109 octal = format(decimal, 'o') print("Decimal:", decimal) print("Octal:", octal) | null |
Spočítej 15×10 | 15 × 10 = 150 | null | |
Summarize key facts about „Phil Burgan“ clearly and accurately. | **Phil Burgan**
Phil Burgan (born 6 December 1951) is the founder and CEO of Maria Mallaband Care Group Ltd, a care home company he named after his late grandmother. Burgan is a former racing driver who maintains a significant interest in motorsport, specifically in nurturing the next generation of British racing tale... | null | |
null | null | null | 2020–21 Sivasspor season
The 2020–21 season was the 54th season in existence of Sivasspor and the club's fourth consecutive season in the top flight of Turkish football. In addition to the domestic league, Sivasspor participate in this season's editions of the Turkish Cup and the UEFA Europa League. The season covers ... |
Stručně shrň článek o tématu „Ginzkey“ a uveď hlavní fakta. | **Ginzkey**
Příjmení Ginzkey má více nositelů: Franz Karl Ginzkey (1871–1963), rakouský spisovatel Hermine Ginzkey (1864–1933), malířka Ignaz Ginzkey (1818–1876), rakouský továrník Wilhelm Ginzkey (1856–1934), rakouský velkoprůmyslník | null | |
List the different access modifiers in Java | The access modifiers in Java are public, private, protected, and default. Public members are accessible everywhere and can be inherited. Private members can only be accessed within the same class. Protected members are accessible within the same package but can be inherited to a subclass in a different package. Default... | null | |
null | null | null | Venezuelan motorcycle Grand Prix
The Venezuelan motorcycle Grand Prix is a motorcycling event that was part of the Grand Prix motorcycle racing season from 1977 to 1979. Official names and sponsors 1977: Grand Prix de Venezuela (no official sponsor) 1978: II Grand Prix de Venezuela (no official sponsor) 1979: Gran Pre... |
Create a function in Python that takes a string as an input and returns a new string that is the reverse of the input string. | string = "Reverse Me" | def reverse_string(string): return string[::-1] print(reverse_string(string)) | null |
Construct a for loop that will loop over the string "Hello World". | for letter in "Hello World": print(letter) | null | |
null | null | null | Victoria Honeyman
Victoria C. Honeyman (born 1978) is a British politics academic, and associate professor of British Politics at the University of Leeds. She has a Ph.D. from the University of Leeds, and her thesis Richard Crossman: a critical biography (2005) was published as Richard Crossman: A Reforming Radical of... |
Summarize key facts about „Hasubanan“ clearly and accurately. | **Hasubanan**
Hasubanan is an alkaloid with the chemical formula of C16H21N. It forms the central core of a class of alkaloids known collectively as hasubanans. The compound is derived from reticuline, as is morphinan, but is comparatively more oxidized and rearranged. It is similar to acutumine. Various alkaloids of ... | null | |
Stručně shrň článek o tématu „Hexan“ a uveď hlavní fakta. | **Hexan**
Hexan je uhlovodík s chemickým vzorcem C6H14. Předpona „hex“ odkazuje na šest uhlíků, zatímco „an“ naznačuje, že uhlíky jsou spojeny jednoduchými vazbami (tj. hexan patří mezi alkany). Izomery hexanu jsou převážně nereaktivní, a jsou často používány jako inertní rozpouštědlo v organických reakcích, protože j... | null | |
Create a C++ code to display the following pattern. x xxx xxxxx xxxxxxx | #include <iostream> using namespace std; // Function to demonstrate printing pattern void triangle(int n) { // Outer loop to handle number of rows // n in this case for (int i=0; i<n; i++) { // Inner loop to handle number of columns // values changing acc. to outer loop for (int j=0; j<=i; j++ ) { // Printing stars cou... | null | |
Summarize key facts about „Rodgers Rop“ clearly and accurately. | **Rodgers Rop**
Rodgers Rop (born 16 February 1976) is a long-distance runner from Kenya. In 2002, Rop won both the Boston Marathon and the New York Marathon. He joined an exclusive club of men who have won both races: Bill Rodgers, Alberto Salazar, Ibrahim Hussein, Joseph Chebet, Meb Keflezighi, and Geoffrey Mutai (s... | null | |
Ukaž čistý Python kód: chunk list. | ```python def chunked(xs, n): return [xs[i:i+n] for i in range(0, len(xs), n)] ``` | null | |
Write a SQL query to find the cities with a population greater than 5 million. | SELECT City FROM Population WHERE Population > 5000000; | null | |
Write a CSS code to align a button to the center of a webpage. | <button>My Button</button> | button { display: block; margin-left: auto; margin-right: auto; } | null |
Describe a data structure for storing the given data. | Name, Phone number, Address | A hash table data structure can be used to store the given data. The name will be used as the key and then an associative array or a structure can be used to store the phone number and address associated with the name. | null |
Summarize key facts about „Harold Day (Australian footballer)“ clearly and accurately. | **Harold Day (Australian footballer)**
Harold Day (22 May 1890 – 8 June 1961) was an Australian rules footballer who played with Essendon in the Victorian Football League (VFL). Notes External links 1890 births 1961 deaths Australian rules footballers from Victoria (state) Essendon Football Club players | null | |
null | null | null | George F. Johnson Recreation Park Carousel
The George F. Johnson Recreation Park Carousel is a historic carousel located at Binghamton in Broome County, New York. The carousel and its pavilion were built in 1925. The carousel is housed in a wooden, one story, 16-sided, pavilion topped by a cupola. The carousel has 60 ... |
Spočítej: 6 + 3 = ? | 6 + 3 = 9 | null | |
Identify the names of different classes in the following code snippet. | class Student: def __init__(self, name, roll_number): self.name = name self.roll_number = roll_number def print_details(self): print("Name:", self.name) print("Roll number:", self.roll_number) | Student | null |
Create SQL to select data from the table that has a specific value in the 'name' field. | Table Name: Country Field: Name Value: USA | SELECT * FROM Country WHERE Name = 'USA'; | null |
Stručně shrň článek o tématu „12. století“ a uveď hlavní fakta. | **12. století**
Dvanácté století je podle Gregoriánského kalendáře období mezi 1. lednem 1101 a 31. prosincem 1200. Jedná se o druhé století druhého tisíciletí. Objevy a vynálezy kolem roku 1110 se ve střední Evropě rozšiřuje těžba černého uhlí kolem roku 1130 byl v Číně vynalezen střelný prach (některé prameny však u... | null | |
Stručně shrň článek o tématu „Lorient“ a uveď hlavní fakta. | **Lorient**
Lorient (francouzsky ) je francouzské město v departementu Morbihan v regionu Bretaň. V roce 2010 zde žilo 57 204 obyvatel. Je centrem arrondissementu Lorient. Rozkládá se v nadmořské výšce kolem 15 m n. m. Jméno Lorient pochází z francouzského L’Orient (Orient), protože zdejší přístav byl domovem flotily ... | null | |
null | null | null | Beruška vodní
Beruška vodní (Asellus aquaticus) je běžný sladkovodní korýš stojatých i mírně tekoucích vod. Živí se detritem a rostlinnými zbytky, převážně spadaným listím. Její zadečkové články splývají v pleotelson. Dýchá pomocí žaberních nožek na zadečku. Je všežravá. Barva těla je zelenavě hnědá až šedá s jasnější... |
Edit the following HTML to change the font of the page | <html> <head> <title>My Page</title> </head> <body> <h2>Hello World!</h2> </body> </html> | <html> <head> <title>My Page</title> <style> body { font-family: Arial, sans-serif; } </style> </head> <body> <h2>Hello World!</h2> </body> </html> | null |
Write a MySQL query to update the price of all items that cost more than $50 to $50. | UPDATE items SET price = 50 WHERE price > 50; | null | |
null | null | null | Bitva u Laonu
Bitva u Laonu byla bitvou napoleonských válek. Bitva zničila šance na zvrat ve válce ve prospěch napoleonské Francie. Pozadí V prosinci 1812 se vrátil Napoleon z katastrofálního ruského tažení. Z jeho armády zbyly jen trosky a ruská vojska zahájila útok za hranice své říše. Brzy se k Rusku přidalo Prusko... |
Generate a Java program that creates a class Student with attributes name and age, and a constructor to initialize the attributes. | public class Student { private String name; private int age; public Student(String name, int age) { this.name = name; this.age = age; } public String getName() { return name; } public int getAge() { return age; } } | null | |
Generate HTML code for displaying a list of items | <ul> <li>Item 1</li> <li>Item 2</li> <li>Item 3</li> <li>Item 4</li> </ul> | null | |
null | null | null | Patrick Colwell
Patrick Colwell (born ) is an American former politician in the state of Maine. A Democrat, he was Speaker of the Maine House of Representatives from 2003-2004 (121st Maine State Legislature). He represented Gardiner and part of Randolph in Kennebec County. Personal He was married to Rebecca, with whom... |
Write a python script to print out a list comprehension that prints out all the integers in a given range | 1-10 | my_list = [x for x in range(1, 11)] print(my_list) | null |
Summarize key facts about „Horvathiolus“ clearly and accurately. | **Horvathiolus**
Horvathiolus is a genus of seed bugs in the family Lygaeidae. There are at least 20 described species in Horvathiolus. Species These 20 species belong to the genus Horvathiolus: Horvathiolus adonis Linnavuori, 1978 Horvathiolus albomaculus (Lindberg, 1960) Horvathiolus amoenulus (Gerstaecker, 1873) Ho... | null | |
Stručně shrň článek o tématu „Stružnické rybníky“ a uveď hlavní fakta. | **Stružnické rybníky**
Stružnické rybníky jsou evropsky významná lokalita a přírodní památka severovýchodně od Stružnice v okrese Česká Lípa. Předmětem ochrany jsou mokřadní a vodní biotopy s výskytem Kuňky obecné. Historie Chráněné území vyhlásil Krajský úřad Libereckého kraje s účinností od dne 14. srpna 2012. Příro... | null | |
null | null | null | Heidi Game
The Heidi Game or Heidi Bowl was a 1968 American Football League (AFL) game between the Oakland Raiders and the visiting New York Jets. The contest, held on November 17, 1968, was notable for its exciting finish, in which Oakland scored two touchdowns in the final minute to win the game 43–32. However, a de... |
Summarize key facts about „1745 (film)“ clearly and accurately. | **1745 (film)**
1745 is a 2017 British short drama film directed by Gordon Napier and co-produced by director himself with John McKay. The film stars Moyo Akandé and Morayo Akandé with Clive Russell, Buki Adenipikun, and Emmanuel Njoku in supporting roles. Plot The film revolves around two sisters: Emma Atkin and Rebe... | null | |
Write an algorithm to store the data in a 2D array. | [[1,2,3,4], [5,6,7,8], [9,10,11,12], [13,14,15,16]] | def storeDataIn2DArray(data): rowLength = len(data[0]) columnLength = len(data) twoDArray = [] for row in range(rowLength): twoDArrayRow = [] for column in range(columnLength): twoDArrayRow.append(data[column][row]) twoDArray.append(twoDArrayRow) return twoDArray | null |
Generate a class that manages the customer data | The class should have attributes of customer name, address, phone number, and email address. | class CustomerData: def __init__(self, name, address, phone_number, email_address): self.name = name self.address = address self.phone_number = phone_number self.email_address = email_address def get_name(self): return self.name def get_address(self): return self.address def get_phone_number(self): return self.phone_nu... | null |
Stručně shrň článek o tématu „Hydrogenace“ a uveď hlavní fakta. | **Hydrogenace**
Hydrogenace (nebo také adice vodíku) je chemická reakce mezi molekulárním vodíkem H2 a další látkou (zpravidla nenasycenou) za přítomnosti katalyzátoru. Mezi nejčastější hydrogenace patří redukce násobných vazeb nebo jiných funkčních skupin v organických sloučeninách. Nejběžnějšími katalyzátory jsou na... | null | |
What is the name of the attribute for creating a hover effect for an element in CSS? | The attribute used in CSS to create a hover effect for an element is the ':hover' pseudo-class. | null | |
Create a function in Python that takes two strings and checks if the characters in the second string exist in the first string. | s1 = "hello world" s2 = "llo" | def char_exists_in_string(s1, s2): for char in s2: if char not in s1: return False return True if __name__ == '__main__': s1 = "hello world" s2 = "llo" print(char_exists_in_string(s1, s2)) | null |
null | null | null | Xiangtan
Xiangtan () is a prefecture-level city in east-central Hunan province, south-central China. The hometowns of several founding leaders of the Chinese Communist Party, including Chairman Mao Zedong, President Liu Shaoqi, and Marshal Peng Dehuai, are in Xiangtan's administration, as well as the hometowns of Qing... |
Stručně shrň článek o tématu „Jiří Kulhánek (fotbalista)“ a uveď hlavní fakta. | **Jiří Kulhánek (fotbalista)**
Jiří Kulhánek (* 8. března 1996, Praha) je český fotbalový defenzivní záložník hrající za FK Dukla Praha, kde je na ročním hostování ze Sparty. Klubová kariéra Odchovanec sparťanské juniorky, se kterou v roce 2015/2016 vyhrál titul. Ještě v tomto ročníku odešel na hostování do druholigov... | null | |
Summarize key facts about „Ponsonby Ogle“ clearly and accurately. | **Ponsonby Ogle**
Ponsonby Dugmore Ogle (8 December 1855 – 17 December 1902) was a British writer and journalist, and for a time was editor of The Globe newspaper in London. Later in life he was mistakenly reputed to own a large baronial estate in Massachusetts. Biography Ogle was born into a well-known English family... | null | |
Create a method that returns all elements in an array that are larger than the given value x. | [2, 3, 5, 7, 11, 13] and x = 4 | def elements_greater_than_x(arr, x): result = [] for el in arr: if el > x: result.append(el) return result | null |
Develop a function to search for a value in an array and return its position. | arr = [25, 100, 98, 50]; value = 50 | function searchValue(arr, value) { let position = -1; arr.forEach((n, i)=> { if (n == value) { position = i; } }); return position; } let position = searchValue(arr, value); console.log(position); // 3 | null |
null | null | null | 1814 in Denmark
Events from the year 1814 in Denmark. Incumbents Monarch – Frederick VI Prime minister – Frederik Moltke, Fredrik Julius Kaas, Joachim Godske Moltke Events 14 January – The signing of the Treaty of Kiel The Gunboat War ends. Helgoland is ceded to the United Kingdom. Kingdom of Norway is ceded to the Ki... |
Stručně shrň článek o tématu „Vendula Haldin“ a uveď hlavní fakta. | **Vendula Haldin**
Vendula Haldin, rozená Klechová, (* 26. února 1981, Brno) je česká reprezentantka v orientačním běhu v současnosti žijící v norském Haldenu. Jejím největším úspěchem je deváté místo ze závodu ve sprintu na světovém poháru v roce 2005 a stříbrná medaile z juniorského mistrovství světa 1997. V současn... | null | |
Stručně shrň článek o tématu „Parabeny“ a uveď hlavní fakta. | **Parabeny**
Parabeny jsou skupinou chemických látek široce užívaných jako konzervační činidla v kosmetice a farmaceutickém průmyslu. Parabeny a jejich soli jsou využívány zejména pro jejich baktericidní a fungicidní vlastnosti, a to v šampónech, zubních pastách, kosmetických krémech, lubrikantech, opalovacích krémech... | null | |
Stručně shrň článek o tématu „Netvařec“ a uveď hlavní fakta. | **Netvařec**
Netvařec je rod rostlin z čeledi bobovité (Fabaceae), zahrnující asi 15 druhů rostoucích v Severní Americe. Jsou to převážně keře se zpeřenými listy a hustými klasovitými květenstvími drobných kvítků s korunou redukovanou na jediný lístek. V Česku je pěstován jako okrasný keř netvařec křovitý (Amorpha fru... | null | |
Stručně shrň článek o tématu „Funkin' for Jamaica“ a uveď hlavní fakta. | **Funkin' for Jamaica**
'Funkin' For Jamaica je disco/funk/jazzový singl amerického jazzového trumpetisty Toma Browna. Singl je z jeho druhého alba, "Love Approach". Vokálně se na písni podílela i zpěvačka Tonni Smithová. Song se dostal na #1 příčku Billboard R&B hitparády a zůstal tam po dobu jednoho měsíce. "Funkin'... | null | |
null | null | null | O-bi, O-ba: Zánik civilizace
O-bi, O-ba: Zánik civilizace je polský katastrofický science fiction film režiséra Piotra Szulkina. V hlavní roli se objevil Jerzy Stuhr. Pojednává o tématu zániku lidstva po jaderném konfliktu, který zdecimoval Zemi. Na plátnech polských, ale i jiných kin, se objevil roku 1985 jako druhý ... |
What is the volume of a sphere with radius 7 cm? | The volume of a sphere with radius 7 cm is 1436.755 cm3. | null | |
Summarize key facts about „Jack Lorimer“ clearly and accurately. | **Jack Lorimer**
Jack "Jock" Lorimer (1883–1920) was a Scottish comedy actor and popular music hall entertainer. Originally from Forres in Scotland, he performed as "The Hielan' Laddie" with success in London and on tour in the United States. His son was the famous comedian Max Wall. References 1883 births 1920 deaths... | null | |
Ukaž čistý kód: vrátí posledních n prvků. Pojmenuj funkci `last_n`. | ```python def last_n(xs: list, n: int) -> list: return xs[-n:] if n else [] ``` | null | |
Create a JavaScript timer that runs every two seconds and displays a countdown in the console. | let count = 10; let timerId = setInterval(function() { console.log(count); if (count === 0) { clearInterval(timerId); } count--; }, 2000); | null | |
Compare the two values, output the greater one. | val1 = "dog" val2 = "cat" | if val1 > val2: print(val1) else: print(val2) | null |
Complete the following code so as to return the value of the key-value pair "name" in the given JSON object. | data = { "name": "John", "age": 20 } def get_name(data): # Your code here | def get_name(data): return data["name"] | null |
hello | Ahoj! Napiš úkol — klidně česky nebo anglicky, případně kód v Python/JS/HTML/PHP. | null | |
Write a code to calculate the gravitational force between two objects | Two objects with a mass of 3kg and 10kg are separated by 10m. | def gravitational_force(m1, m2, r): G = 6.67 * 10**-11 f = G*(m1*m2/r**2) return f if __name__ == '__main__': m1 = 3 m2 = 10 r = 10 force = gravitational_force(m1, m2, r) print(force) | null |
Kolik je 26 × 2? | 26 × 2 = 52 | null | |
Stručně shrň článek o tématu „High Efficiency Image File Format“ a uveď hlavní fakta. | **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... | null | |
Stručně shrň článek o tématu „Dale“ a uveď hlavní fakta. | **Dale**
Dale může být: příjmení osob Alan Dale (* 1947) – novozélandský herec Dick Dale (1937–2019) – americký hudebník a textař Dominic Dale (* 1971) – hráč snookeru Henry Hallett Dale (1875–1968) – britský farmakolog a biochemik, nositel Nobelovy ceny Johannes Dale (* 1997) – norský biatlonista křestní jméno Alexan... | null | |
Stručně shrň článek o tématu „Pedro da Fonseca“ a uveď hlavní fakta. | **Pedro da Fonseca**
Pedro da Fonseca, též Petrus Fonseca (1528 Proença-a-Nova (Castelo Branco) — 4. listopadu 1599) byl portugalský jesuita, teolog a filozof; ve své době byl znám jako „portugalský Aristotelés“. Kromě latiny znal dokonale řečtinu a arabštinu, což mu umožnilo studovat Aristotela v originále a arabskýc... | null | |
Stručně shrň článek o tématu „Mistrovství světa v atletice 2009 – Muži vrh koulí“ a uveď hlavní fakta. | **Mistrovství světa v atletice 2009 – Muži vrh koulí**
Závod ve vrhu koulí mužů na Mistrovství světa v atletice 2009 se uskutečnil 15. srpna. Zvítězil v něm americký atlet Christian Cantwell výkonem 22,03 m. Zdařilý úvod měl Christian Cantwell, který se od prvního pokusu usadil na čele. Zejména úřadující olympijský ša... | null | |
null | null | null | Pierre-Jean Samot
Pierre-Jean Samot (born 21 August 1934 in Fort-de-France, Martinique) is a politician from Martinique. He was Mayor of Le Lamentin from 1989 to 2018. In the 2002 French legislative election he was elected to the National Assembly from Martinique's 3rd constituency. However, his election was invalidat... |
Summarize key facts about „Eleanor Raskin“ clearly and accurately. | **Eleanor Raskin**
Eleanor E. Raskin (née Stein; born March 16, 1946) was a member of the Weathermen. She is currently an adjunct instructor at Albany Law School. She was an administrative law judge at the New York State Public Service Commission. Background Eleanor E. Stein was born on March 16, 1946. Her parents, An... | null | |
Stručně shrň článek o tématu „Jean-Éric Vergne“ a uveď hlavní fakta. | **Jean-Éric Vergne**
Jean-Éric Vergne (* 25. dubna 1990 v Pontoise, Francie) je francouzský automobilový závodník, pilot Formule E a bývalý pilot Formule 1. Momentálně jezdí v šampionátu Formule E za tým DS Techeetah. Kompletní výsledky Formule 1 Formule E Externí odkazy Francouzští automobiloví závodníci Francouzští ... | null | |
Stručně shrň článek o tématu „Myslbekova (Praha)“ a uveď hlavní fakta. | **Myslbekova (Praha)**
Myslbekova ulice na Hradčanech a Střešovicích v Praze 6 spojuje křižovatku ulic Bělohorská a Dlabačov s ulicí Patočkova. Nazvána je podle zakladatele novodobého českého sochařství Josefa Václava Myslbeka (1848-1922). Ulice tvoří hranici mezi městskými částmi Hradčany a Střešovice. Vede po ní tra... | null | |
Create a generator expression to print the square of a list of numbers. | numbers = [1, 2, 3, 4, 5] | numbers = [1, 2, 3, 4, 5] # generator expression squares = (num ** 2 for num in numbers) for square in squares: print(square) | null |
Summarize key facts about „Nahr-e Gabin-e Sofla“ clearly and accurately. | **Nahr-e Gabin-e Sofla**
Nahr-e Gabin-e Sofla (, also Romanized as Nahr-e Gabīn-e Soflá; also known as Nahr-e Gabīn) is a village in Abshar Rural District, in the Central District of Shadegan County, Khuzestan Province, Iran. At the 2006 census, its population was 130, in 25 families. References Populated places in Sh... | null | |
Kolik je 12 × 14? | 12 × 14 = 168 | null | |
Count the number of characters in the string. | text = "Hello World!" | len(text) # 12 | null |
Design a function to find the average of a given array. | array = [1, 2, 3] | def array_mean(array): total = 0 for num in array: total += num mean = total / len(array) return mean | null |
null | null | null | Dynamika
Dynamika je část mechaniky, která se zabývá příčinami pohybu hmotných objektů (bodů, těles, soustav těles). Zabývá se tedy veličinami spojenými s dynamikou pohybu, jako např. hybnost a energie. Jedním ze základních cílů dynamiky je určit pohyb hmotného bodu (případně tělesa nebo těles), známe-li síly na hmotn... |
Write a function in Java that takes in a string and shifts all the characters one place to the right, wrapping around the end. | x = "Hello!" | public static String shiftCharacters(String str){ String shifted = ""; for(int i = 0; i < str.length(); i++) { int charNum = str.charAt(i) - 1; // Wrapping around the end if (charNum < 65) { charNum = charNum + 26; } shifted += (char)charNum; } return shifted; } | null |
Create a C++ program that takes two integers as an input and outputs their product. | 5 6 | #include <iostream> int main() { int a, b, product; std::cout<<"Enter two integers: "; std::cin>>a>>b; product = a*b; std::cout<<"The product of the two numbers is "<<product; return 0; } | null |
JS: query sel | ```javascript const $ = sel => document.querySelector(sel); ``` | null | |
Summarize key facts about „Portglenone Parish Church“ clearly and accurately. | **Portglenone Parish Church**
Portglenone Parish Church is the Church of Ireland parish church of Portglenone, County Antrim, Northern Ireland. Description Portglenone Church was consecrated in 1735, making it one of the oldest churches in the area. The porch was added and dedicated on 13 February 1912. The church was... | null | |
null | null | null | 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 bodů... |
How would you create an API endpoint that returns a list of users? | import flask app = flask.Flask(__name__) @app.route("/users", methods=("GET",)) def get_users(): users = [ {"name": "John Smith", "age": 45}, {"name": "Tim Jones", "age": 34}, {"name": "Alice Jackson", "age": 24} ] return flask.jsonify(users) | null | |
Summarize key facts about „Brian Stock (footballer)“ clearly and accurately. | **Brian Stock (footballer)**
Brian Benjamin Stock (born 24 December 1981) is a former professional footballer who played as a midfielder and was most recently the manager of Weymouth. Born in England, Stock represented Wales at international level. Club career AFC Bournemouth Stock began his professional career at AFC... | null | |
Write code to solve this DP(Dynamic Programming) problem from LeetCode. | You are given coins of different denominations and a total amount of money. Write a function to compute the fewest number of coins that you need to make up that amount. If that amount of money cannot be made up by any combination of the coins, return -1. | def coinChange(coins, amount): dp = [float("inf")] * (amount + 1) dp[0] = 0 for coin in coins: for x in range(coin, amount + 1): dp[x] = min(dp[x], dp[x - coin] + 1) if dp[amount] == float("inf"): return -1 return dp[amount] | null |
Přelož do češtiny: The server is down. | Server neběží / je vypnutý. | null | |
null | null | null | Intimní osvětlení
Intimní osvětlení je český film, natočený v roce 1965 režisérem Ivanem Passerem jako jeho dlouhometrážní debut. Film byl natáčen v reálných interiérech s hrajícími neherci, což mu přineslo velkou míru autentičnosti. Postupně se stal význačným filmem české nové vlny, byl přijat pozitivně domácí i zahr... |
Format the following HTML tags correctly. | <html><head> <title>hello world</title></head></html> | <html> <head> <title>Hello World</title> </head> </html> | null |
Summarize key facts about „Macheezmo Mouse“ clearly and accurately. | **Macheezmo Mouse**
Macheezmo Mouse was a fast food Mexican restaurant chain based in the U.S. state of Oregon. Description Macheezmo Mouse served Mexican food with a focus on fast service, fresh ingredients, and inexpensive, healthy menu options. In 2016, a 90s retrospective by The Oregonian Lizzy Acker remembered th... | null | |
Stručně shrň článek o tématu „Brabantské lankrabství“ a uveď hlavní fakta. | **Brabantské lankrabství**
Brabantské lankrabství (nizozemsky {{lang|nl|Landgraafschap Brabant}}, francouzsky ) vzniklo v roce 1085 jako malé středověké území nacházející se západně od Bruselu mezi řekami Dender a Zenne v moderní Belgii. Lankrabství bylo součástí Svaté říše římské. Před rokem 1085 vládl území hrabě Ji... | null | |
Create a SQLite query to find the sum of the column "price" in a table called "orders". | SELECT SUM(price) AS total_sum FROM orders; | null | |
Kolik je 18 - 8? | 18 - 8 = 10 | null | |
Create a class in Java that stores a student's ID and name. | public class Student { int id; String name; Student(int id, String name) { this.id = id; this.name = name; } } | null | |
Stručně shrň článek o tématu „Singly na prvním místě v roce 1958 (USA)“ a uveď hlavní fakta. | **Singly na prvním místě v roce 1958 (USA)**
#1 příčky americké hitparády Hot 100 za rok 1958 podle časopisu Billboard. Před vznikem Hot 100 Billboard publikoval několik hitparád každý týden. V roce 1958 byly vyprodukovány: Best Sellers in Stores Most Played by Jockeys Top 100 - předchůdce Hot 100. Jako první hitparád... | null | |
Summarize key facts about „Niki Goulandris“ clearly and accurately. | **Niki Goulandris**
Niki Goulandris (; 1925 – 9 February 2019) was a Greek philanthropist and an accomplished botanical painter. Early life Goulandris helped illustrate several botanical books, such as Wild Flowers of Greece by C. Goulimis and W.T. Stearn, and Peonies of Greece by Stearn and P.H. Davies. She was vice-... | null | |
Summarize key facts about „Charlotte Drury“ clearly and accurately. | **Charlotte Drury**
Charlotte Frances Drury (born June 4, 1996) is an American trampoline gymnast. At the 2014 Minsk World Cup, she finished at the top of the podium in the individual event, becoming the first American woman to win a gold medal in trampoline at a World Cup. That same year, she was crowned national cha... | null | |
null | null | null | Gabriel Blažek
Gabriel Blažek (20. září 1842 Borovnice u Chocně – 6. prosince 1910 Praha) byl český matematik, politik a bankéř. Biografie Studoval na gymnáziích v Mostě a Žatci, pak v Praze na Malé Straně. V letech 1860–63 na pražské univerzitě. Byl jedním ze zakladatelů Spolku pro volné přednášky z matematiky a fyzi... |
Create an Android application for calculating monthly loan payments. | The application should be able to calculate the monthly payments for different loan types (e.g. car, house, etc.). | public class loancalculator extends Activity { EditText loanamount, interestrate, repaymentperiod; TextView txtmonthlypayments; Button calculate; Double ans; @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.loancalculator); loanamount=(EditText)f... | null |
Ukaž Python kód — read lines. | ```python def read_lines(path): with open(path, encoding='utf-8') as f: return f.read().splitlines() ``` | null | |
Fill in the blank and explain why it works. | The difference between int and float data type is that a float data type stores ____ numerically accurate values. | The difference between int and float data type is that a float data type stores double numerically accurate values. This is because a float can represent a wider range of numbers when compared to an int, and therefore it requires double the memory. | null |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.