instruction stringlengths 2 259 ⌀ | input stringlengths 0 442 ⌀ | output stringlengths 1 1.9k ⌀ | text stringlengths 273 2.08k ⌀ |
|---|---|---|---|
Write code to create a list of length 10 with random integers. | import random myList = [] for i in range(10): myList.append(random.randint(0,10)) print(myList) | null | |
Spočítej: 17 + 13 = ? | 17 + 13 = 30 | null | |
Summarize key facts about „Obere Bunte Mergel“ clearly and accurately. | **Obere Bunte Mergel**
The Obere Bunte Mergel is a geological formation in Switzerland. It dates back to the late Norian. Vertebrate fauna See also List of dinosaur-bearing rock formations References Triassic System of Europe Norian Stage | null | |
Stručně shrň článek o tématu „Hans Engnestangen“ a uveď hlavní fakta. | **Hans Engnestangen**
Hans Engnestangen (28. března 1908 Brandbu – 9. května 2003 Brandbu) byl norský rychlobruslař. Norského šampionátu se poprvé zúčastnil v roce 1927, o rok později závodil na Mistrovství Evropy pracujících. Na evropském šampionátu debutoval v roce 1931. Zvítězil na Mistrovství světa 1933 a o dva ro... | null | |
You need to create a dictionary that contains five elements with their associated values. | myDictionary = { 'apple': 'fruit', 'celery': 'vegetable', 'sun': 'star', 'earth': 'planet', 'light': 'energy' } | null | |
null | null | null | Obecná škola (film)
Obecná škola je československý film režiséra Jana Svěráka, natočený v roce 1991 podle scénáře Zdeňka Svěráka. Film se stal populární u kritiky i fanoušků a byl dokonce nominován na Oscara za nejlepší zahraniční film. Ve snímku je zachyceno krátké euforické období po 2. světové válce a mnoho méně či... |
What is 24 - 3? | 24 - 3 = 21 | null | |
Write a machine learning model to classify whether a given email is spam or not using logistic regression. | from sklearn.linear_model import LogisticRegression model = LogisticRegression(solver='liblinear') model.fit(X_train, y_train) y_pred = model.predict(X_test) | null | |
Output the square of the following number | 5 | 25 | null |
null | null | null | CADPAT
Canadian Disruptive Pattern (CADPAT; ) is the computer-generated digital camouflage pattern developed for use by the Canadian Armed Forces. Four operational variations of CADPAT have been used by the Canadian Armed Forces: a temperate woodland pattern, an arid regions pattern, a winter operations pattern, and a... |
Given the following code, write a function to calculate the length of the linked list. | """ class Node: def __init__(self, val, next=None): self.val = val self.next = next head = Node(4, Node(3, Node(2, Node(1)))) """ | """ Given the following code, write a function to calculate the length of the linked list. Input: Head of the linked list (Node) Output: Length of the linked list (int) """ def get_length(head): if head is None: return 0 length = 1 node = head while node.next is not None: length += 1 node = node.next return length if _... | null |
Create a C# class named "Car" that models a car. | class Car { private string make; private string model; private int year; public Car(string make, string model, int year) { this.make = make; this.model = model; this.year = year; } public string getMake() { return this.make; } public string getModel() { return this.model; } public int getYear() { return this.year; } pu... | null | |
Summarize key facts about „Almost Famous (soundtrack)“ clearly and accurately. | **Almost Famous (soundtrack)**
Almost Famous is a soundtrack album to the film of the same name, released in 2000. It was awarded the 2001 Grammy Award for Best Compilation Soundtrack Album for a Motion Picture, Television or Other Visual Media. In May 2021, UMe announced the reissue of the soundtrack as an expanded f... | null | |
null | null | null | 21. leden
21. leden je 21. den roku podle gregoriánského kalendáře. Do konce roku zbývá 344 dní (345 v přestupném roce). Svátek má Běla. Události Česko 1318 – Za Janem Lucemburským přijela do Brna i jeho žena Eliška Přemyslovna. Jan Lucemburský zde pobýval kvůli sporům se šlechtickou klikou Jindřicha z Lipé. 1438 – V ... |
Create an array of 5 unique numbers between 1 and 15. | [1, 7, 10, 11, 15] | null | |
Ahoj! tam? | Ahoj! Jak ti můžu pomoct? | null | |
Write a Python function `is_even` that vrátí True pokud je sudé. | ```python def is_even(n: int) -> bool: return n % 2 == 0 ``` | null | |
Summarize key facts about „Gres a Avicula contorta“ clearly and accurately. | **Gres a Avicula contorta**
The Gres a Avicula contorta is a geological formation in France. It dates back to the late Norian. Vertebrate paleofauna Rhomphaiodon nicolensis (type locality) See also List of dinosaur-bearing rock formations References Triassic System of Europe Norian Stage | null | |
Create an algorithm to find the longest common substring from two given strings. | String1: 'Hello World', String2: 'Hey World' | def longest_common_substring(s1, s2): m = [[0] * (1 + len(s2)) for i in range(1 + len(s1))] longest, x_longest = 0, 0 for x in range(1, 1 + len(s1)): for y in range(1, 1 + len(s2)): if s1[x - 1] == s2[y - 1]: m[x][y] = m[x - 1][y - 1] + 1 if m[x][y] > longest: longest = m[x][y] x_longest = x else: m[x][y] = 0 return s1... | null |
Stručně shrň článek o tématu „Římskokatolická farnost Šebířov“ a uveď hlavní fakta. | **Římskokatolická farnost Šebířov**
Římskokatoická farnost Šebířov je územním společenstvím římských katolíků v rámci táborského vikariátu Českobudějovické diecéze. O farnosti Historie V roce 1358 je v Šebířově doložena plebánie. Farnost byla obnovena roku 1725. Současnost Farnost nemá sídelního duchovního správce a j... | null | |
Summarize key facts about „Piano Quintet (Brahms)“ clearly and accurately. | **Piano Quintet (Brahms)**
The Piano Quintet in F minor, Op. 34, by Johannes Brahms was completed during the summer of 1864 and published in 1865. It was dedicated to Her Royal Highness Princess Anna of Hesse. As with most piano quintets composed after Robert Schumann's Piano Quintet (1842), it is written for piano an... | null | |
Kolik je 11 - 9? | 11 - 9 = 2 | null | |
Write a Python function `last_n` that vrátí posledních n prvků. | ```python def last_n(xs: list, n: int) -> list: return xs[-n:] if n else [] ``` | null | |
Summarize key facts about „Meco, Spain“ clearly and accurately. | **Meco, Spain**
Meco is a municipality in the eastern part of the Autonomous Community of Madrid, (Spain). In 2006, Meco had a population of 11,094 (Spanish National Statistics Institute). The town is located to the north of the River Henares, in the comarca of La Campiña del Henares, and also in one of the two natura... | null | |
Create a SQL query to get the number of records from the table "users" where the value of the "active" column is True. | SELECT COUNT(*) AS num_of_active FROM users WHERE active = true; | null | |
Create a function that can concatenate two lists into a string separated by comma. | [1, 2, 3] [4, 5, 6] | """ Create a function that can concatenate two lists into a string separated by comma """ def concat_lists(list1, list2): return ','.join([str(i) for i in list1 + list2]) if __name__ == '__main__': print(concat_lists([1, 2, 3], [4, 5, 6])) | null |
null | null | null | Amerika
Amerika je souvislá pevnina na Zemi, která se skládá ze tří patrných částí – Severní Ameriky, Střední Ameriky a Jižní Ameriky. Severní a Jižní Amerika jsou považovány za dva samostatné kontinenty, zatímco Střední Amerika je považována za součást kontinentu Severní Ameriky. Z geomorfologického hlediska je Ameri... |
Replace the comment in the code with a line of code that prints the index of the maximum value in the list. | list_a = [5, 8, 3, 6, 9] | list_a = [5, 8, 3, 6, 9] # TODO: replace the comment with a line of code that prints the index of the maximum value in the list print(list_a.index(max(list_a))) | null |
Rewrite the following JavaScript code to use arrow functions instead of regular functions. | function sum(a, b) { return a + b; } | const sum = (a, b) => a + b; | null |
Summarize key facts about „Green Square, Mingora“ clearly and accurately. | **Green Square, Mingora**
Green Square, also called Green Chowk is a traffic intersection and a landmark in Mingora, Swat District, Pakistan. It is one of the most important intersections in Mingora, and there are numerous shops and establishments located around this square. Taliban rule During the Taliban occupation ... | null | |
Summarize key facts about „Marshall Applewhite“ clearly and accurately. | **Marshall Applewhite**
Marshall Herff Applewhite Jr. (May 17, 1931 – March 26, 1997), also known as Do, among other names, was an American cult leader who founded what became known as Heaven's Gate and organized their mass suicide in 1997. It is the largest mass suicide to occur inside the U.S. As a young man, Applew... | null | |
Spočítej 24×10 | 24 × 10 = 240 | null | |
Summarize key facts about „JOT (TV series)“ clearly and accurately. | **JOT (TV series)**
JOT (also known as JOT the Dot) is an American animated children's television program that ran from 1965 to 1974, and 1980 to 1981. The series consisted of 30 four-minute episodes, which were syndicated between 1965 and the 1980s. JOT was executive produced by the Southern Baptist Radio and Televis... | null | |
Summarize key facts about „Planetary Pebbles, Volume 3: Surfbeat Behind the Iron Curtain“ clearly and accurately. | **Planetary Pebbles, Volume 3: Surfbeat Behind the Iron Curtain**
Planetary Pebbles, Volume 3: Surfbeat Behind the Iron Curtain (subtitled Part 2) is a compilation album featuring underground surf and garage rock musical artists east of the Iron Curtain that recorded between 1963 and 1967. It is the third and final in... | null | |
null | null | null | Římskokatolická farnost Veselí u Oder
Římskokatolická farnost Veselí u Oder (dříve jen římskokatolická farnost Veselí) je farnost Římskokatolické církve v děkanátu Bílovec ostravsko-opavské diecéze. Ve Veselí nad Odrou dlouho neexistovala fara ani kostel či kaple. Teprve roku 1785 bylo Veselí povoleno vybudovat si vla... |
Stručně shrň článek o tématu „Rychloměr“ a uveď hlavní fakta. | **Rychloměr**
Rychloměr (tachometr) je zařízení na měření rychlosti vozidel. Často bývá sdružen s hodometrem, počítadlem ujetých kilometrů. Nezřídka je zaměňován s termínem tachometr, který je, alespoň u vozidel, ve skutečnosti otáčkoměrem. U jízdních kol se někdy používá termín cyklistický počítač, protože takový pří... | null | |
Determine the number of ints in a list. | [2, 5, 7, 3, 8] | def count_int(arr): count = 0 for n in arr: if type(n) == int: count +=1 return count | null |
Spočítej 15×7 | 15 × 7 = 105 | null | |
Stručně shrň článek o tématu „Klára Lidová“ a uveď hlavní fakta. | **Klára Lidová**
Klára Lidová (* 5. ledna 1979) je česká tanečnice a choreografka. Působí též jako pedagožka a dramaturgyně. Je renomovanou specialistkou v oblasti pohybové a sportovní medicíny, myofasciálních řetězců a barefoot tréninku. Od čtyř let studovala balet v Národním divadle, kde v pěti letech poprvé vystupo... | null | |
Stručně shrň článek o tématu „Tooji“ a uveď hlavní fakta. | **Tooji**
Touraj Keshtkar (persky تورج کشتکار) (narozen 26. května 1987 v Širázu), známější jako Tooji, je norský zpěvák, model a televizní moderátor íránského původu. Tooji reprezentoval Norsko na Eurovision Song Contest 2012 v Baku, kde s písní "Stay" obsadil 26. místo. Biografie Tooji se narodil v íránském Širázu, ... | null | |
Summarize key facts about „Kazhuoish languages“ clearly and accurately. | **Kazhuoish languages**
The Kazhuoish languages are a branch of Loloish languages proposed by Lama (2012). There are five languages. Katso Samu Sanie Sadu Meuma Samei may or may not be a Kazhuoish language. However, Bradley (2007) classifies the Kazhuoish languages as Northern Loloish, and considers Samu and Sanie to ... | null | |
Summarize key facts about „Evolution (Baxter novel)“ clearly and accurately. | **Evolution (Baxter novel)**
Evolution is a collection of short stories that work together to form an episodic science fiction novel by author Stephen Baxter. It follows 565 million years of human evolution, from shrewlike mammals 65 million years in the past to the ultimate fate of humanity (and its descendants, both... | null | |
null | null | null | Habseligkeiten
This German word is usually used in its plural form Habseligkeiten. It refers to the paltry belongings of an almost penniless person. "Habseligkeiten" was chosen as the most beautiful German word in October 2004 in a competition initiated by the Goethe Institute and the Council for the German Language. ... |
Stručně shrň článek o tématu „Potenciální energie pružnosti“ a uveď hlavní fakta. | **Potenciální energie pružnosti**
Potenciální energie pružnosti je jeden z druhů mechanické energie, kterou má pružné těleso, když je pružně deformováno (nataženo, stlačeno, ohnuto, zkrouceno). Velikost potenciální energie pružnosti závisí na velikosti deformace a parametrech pružnosti tělesa. Velikost se rovná též me... | null | |
Stručně shrň článek o tématu „Farní sbor Českobratrské církve evangelické ve Škvorci“ a uveď hlavní fakta. | **Farní sbor Českobratrské církve evangelické ve Škvorci**
Farní sbor Českobratrské církve evangelické ve Škvorci je sborem Českobratrské církve evangelické ve Škvorci. Sbor spadá pod Pražský seniorát. Sbor administruje sbor Žižkov I Faráři sboru Timoteus Blahoslav Kašpar (1905–1909) Karel Palásek (1943–1952) Irena Šk... | null | |
null | null | null | Kuhli loach
The true Kuhli loach (Pangio kuhlii), occasionally referred to as eel loach, is a small eel-like freshwater fish belonging to the loach family (Cobitidae). They originate from the island of Java in Indonesia. This snake-like creature is very slender and nocturnal. Description The kuhli loach is an eel-shap... |
Kolik je 28 - 10? | 28 - 10 = 18 | null | |
null | null | null | I'll Tumble 4 Ya
"I'll Tumble 4 Ya" je New Wave/pop-karibská píseň od skupiny Culture Club. Song je z jejich debutního alba Kissing to Be Clever. Píseň byla vydán firmou Virgin, trvá 2:36 minut. Tato píseň zazněla ve filmu "Billy Madison" (1995), kde hrál Adam Sandler. Verze Kanada 7" vinyl A. "I'll Tumble 4 Ya" - 2:3... |
Ukaž čistý kód: zavolá fn max n-krát při výjimce. Pojmenuj funkci `retry`. | ```python import time def retry(fn, n=3, delay=0.1): last = None for _ in range(n): try: return fn() except Exception as e: last = e time.sleep(delay) raise last ``` | null | |
Render a webpage with three columns using just HTML and CSS. | <style> .container { display: flex; flex-direction: row; } </style> <div class="container"> <div>Column 1 </div> <div>Column 2 </div> <div>Column 3 </div> </div> | null | |
Stručně shrň článek o tématu „Avon“ a uveď hlavní fakta. | **Avon**
Avon je kosmetická společnost ze Spojených států amerických, která se řadí k největším světovým firmám v tomto oboru. Své zboží prodává formou přímého prodeje, kdy se o zákazníky stará konkrétní zaměstnanec společnosti. Společnost pořádá také Avon pochody, jež mají podporovat boj proti rakovině prsu. Účastní ... | null | |
Write a python program to find all anagrams in a given string | str = “abc” | def find_anagrams(str): # list to store anagrams anagrams = [] # create a frequency array of alphabets present in string freq = [0] * 26 for char in str: freq[ord(char) - ord('a')] += 1 # Loop through all the elements from 0 to ( 2^length of string – 1 ) for i in range(1<<len(str)): # Convert the number to binary strin... | null |
Stručně shrň článek o tématu „Tennie“ a uveď hlavní fakta. | **Tennie**
Tennie je francouzská obec v departementu Sarthe v regionu Pays de la Loire. V roce 2010 zde žilo 1 051 obyvatel. Vývoj počtu obyvatel Související články Seznam obcí v departementu Sarthe Externí odkazy Reference Obce v departementu Sarthe | null | |
Write a code to list out the unique numbers in an array | arr = [1, 2, 1, 1, 3, 4, 4] | let arr = [1, 2, 1, 1, 3, 4, 4]; let unique_nums = []; for (let i = 0; i < arr.length; i++) { if (!unique_nums.includes(arr[i])) { unique_nums.push(arr[i]); } } console.log(unique_nums); | null |
How do you set up a yaml list with a specific size? | You can set up a yaml list with a specific size by declaring the list and adding the required number of elements to it, like so: my_list: - Element 1 - Element 2 - Element 3 - Element 4 | null | |
null | null | null | Hans Christian Andersen
Hans Christian Andersen (výslovnost: Háns Kristián Andrsen; 2. dubna 1805 Odense – 4. srpna 1875) byl dánský spisovatel, proslul především jako jeden z největších světových pohádkářů. Mnohé z jeho 156 pohádek se staly již klasikou (Princezna na hrášku, Ošklivé káčátko, Císařův slavík, Císařovy ... |
Summarize key facts about „Characteristics of Harold Pinter's work“ clearly and accurately. | **Characteristics of Harold Pinter's work**
Characteristics of Harold Pinter's work identifies distinctive aspects of the works of the British playwright Harold Pinter (1930–2008) and gives an indication of their influence on Anglo-American culture. Characteristics of Pinter's work Pinteresque "That Harold Pinter occu... | null | |
Categorize the following string as either a palindrome or not. | Input: "racecar" | This string is a palindrome. | null |
Stručně shrň článek o tématu „Druhá světová válka“ a uveď hlavní fakta. | **Druhá světová válka**
{{Infobox - konflikt | typ konfliktu = válečný | název = Druhá světová válka | součást = | obrázek = Second world war europe animation large de.gif | popisek = Animace vývoje války v Evropě | trvání = 1. září 1939 – 2. září 1945() (Mezi Ruskem a Japonskem de iure do teď, protože nepodepsali mír... | null | |
Spočítej: 8 + 13 = ? | 8 + 13 = 21 | null | |
null | null | null | Škoda 806
Škoda 806 byl užitkový automobil vyráběný v československé automobilce Škoda. Byl to velký třínápravový valník, případně autobus. Výroba začala roku 1935 a skončila v roce 1936, vyrobilo se 6 těchto vozidel. Motor byl vodou chlazený řadový šestiválec OHV. Dva z vyrobených vozů (806 T) měly benzínový motor o ... |
Stručně shrň článek o tématu „Sándor Szathmári“ a uveď hlavní fakta. | **Sándor Szathmári**
Sándor Szathmári (19. červen 1897, Gyula – 16. červenec 1974, Budapešť) byl maďarský inženýr a esperantista. Dílo Vlastní díla Vojaĝo al kazohinio Maŝimondo Kain kaj Abel Překlady Cezaro – M. Jelušič Sinjorino – M. Jelušič Kredu min – C. Rosetti Externí odkazy Sándor Szathmári: Stručný životopis (... | null | |
Stručně shrň článek o tématu „Alois Horváth“ a uveď hlavní fakta. | **Alois Horváth**
Alois Horváth (22. ledna 1947 – 21. dubna 2012) byl český romský muzikant a mistr houslař. Život Narodil se do rodiny, která velmi ctila a rozvíjela romskou hudební tradici. Jeho celoživotní láskou se stala hudba prezentovaná úspěšnou kapelou Cimbálová muzika Eugena Horvátha (vedenou jeho starším bra... | null | |
Stručně shrň článek o tématu „Morální realismus“ a uveď hlavní fakta. | **Morální realismus**
Morální realismus (moral realism) je moderní anglosaské označení pro filozofický názor či směr, podle něhož jsou morální pojmy reálné a morální soudy se tudíž opírají o poznání objektivních morálních hodnot. Tvrzení, že vražda je špatná, je právě tak pravdivé, jako tvrzení, že tráva je zelená. Př... | null | |
Stručně shrň článek o tématu „Hvězda“ a uveď hlavní fakta. | **Hvězda**
Hvězda nebo zastarale stálice je plazmové (plynné), přibližně kulovité těleso ve vesmíru, které má vlastní zdroj viditelného záření, drží ho pohromadě jeho vlastní gravitace a má hmotnost 0,08 až 300 hmotností Slunce. Ve hvězdách je soustředěna většina viditelné hmoty vesmíru. Nejbližší hvězdou k Zemi je Sl... | null | |
In a given string, create a function that returns the longest consecutive sequence of characters. | my_string = “abccdeefghj" | def longest_consecutive(string): character_list = [] max_length = 0 max_sequence = '' for char in string: if char in character_list: continue else: character_list.append(char) current_length = 1 for i in range(1, len(string)): if string[i-1] == char and string[i] == char: current_length += 1 if current_length>max_lengt... | null |
Create a program that finds all the prime numbers less than or equal to a given number. | def find_primes(num): """Find all the prime numbers less than or equal to a given number.""" primes = [] for i in range(2, num + 1): is_prime = True for j in range(2, int(i ** 0.5) + 1): if i % j == 0: is_prime = False break if is_prime: primes.append(i) return primes | null | |
Rewrite the following code into a generator. | def some_function(nums): output = [] for x in nums: y = x ** 2 output.append(y) return output | def some_function(nums): for x in nums: yield x ** 2 | null |
Summarize key facts about „Phoenix freeway shootings“ clearly and accurately. | **Phoenix freeway shootings**
The Phoenix freeway shootings, also known as the I-10 shootings, were a series of eleven incidents that occurred between August 27 and September 10, 2015, along Interstate 10 and State Route 202 in Phoenix, Arizona. Each incident resulted in projectile damage to cars, and one girl was inj... | null | |
Oprav kód: ```python d = {} print(d['a']) ``` | Klíč nemusí existovat — použij `d.get('a')` nebo `if 'a' in d`. Opravená verze podle vysvětlení výše. | null | |
Create a function in Python that takes two list of strings as parameters and returns a third list of strings which are the elements common in both lists. | list1 = ["apple", "orange", "banana", "cherry"] list2 = ["apple", "grapes", "banana", "watermelon"] | def common(list1, list2): ans_list = [] for i in list1: for j in list2: if i == j: ans_list.append(i) return ans_list if __name__ == "__main__": list1 = ["apple", "orange", "banana", "cherry"] list2 = ["apple", "grapes", "banana", "watermelon"] print(common(list1, list2)) # ['apple', 'banana'] | null |
Stručně shrň článek o tématu „Tolerance (rozcestník)“ a uveď hlavní fakta. | **Tolerance (rozcestník)**
Tolerance může být: tolerance – odborný pojem užívaný ve filosofii, psychologii, sociologii, politice a společenském životě; snášenlivost v oblasti víry a světonázoru tolerance (technika) – rozsah přípustných hodnot (povolená nepřesnost) sledované veličiny, např. rozměrů, v technice remedium... | null | |
Retrieve the elements at indexes 2 and 5 in the list. | list_nums = [1, 4, 7, 2, 9] | elements = [list_nums[2], list_nums[5]] # elements = [7, 9] | null |
Stručně shrň článek o tématu „Rochdale“ a uveď hlavní fakta. | **Rochdale**
Rochdale je město v severozápadní Anglii. Je součástí stejnojmenného metropolitního distriktu a metropolitního hrabství Velký Manchester. Leží na úpatí jižních Pennin necelých 16 km severovýchodně od centra Manchesteru a 8 km severozápadně od města Oldham. Historie Název města pochází od řeky Roch, na kte... | null | |
Summarize key facts about „Orcistus“ clearly and accurately. | **Orcistus**
Orcistus or Orkistos () was a city originally in the northeast of ancient Phrygia and later a bishopric in the Roman province of Galatia Secunda, situated south of the town now called Ortaköy, Afyonkarahissar, and previously Alikel Yaila. City status Originally an independent city of Galatia, it was annex... | null | |
Co je merge? (stručně) | Merge spojuje změny z jedné větve do druhé a může vyžadovat řešení konfliktů. | null | |
Summarize key facts about „Andy Smith (footballer, born 1980)“ clearly and accurately. | **Andy Smith (footballer, born 1980)**
Andrew William Smith (born 25 September 1980) is a former Northern Ireland international footballer and coach who is now the manager of Finnish Veikkausliiga club Haka. He had a 16-year career playing professional and semi-professional football in Northern Ireland, England, Scotl... | null | |
Summarize key facts about „Tahekeroa River“ clearly and accurately. | **Tahekeroa River**
The Tahekeroa River is a river of the Auckland Region of New Zealand's North Island. It flows generally southwest to reach the Makarau River eight kilometres north of Kaukapakapa. See also List of rivers of New Zealand References Rivers of the Auckland Region Manukau Harbour catchment | null | |
Spočítej: 7 + 11 = ? | 7 + 11 = 18 | null | |
Kolik je 14 - 2? | 14 - 2 = 12 | null | |
null | null | null | Maniac Cop
Maniac Cop je americký horor z roku 1988 režiséra Williama Lustiga. Scénář k filmu napsal Larry Cohen. Ve filmu hrají Tom Atkins, Bruce Campbell, Laurene Landon, Robert Z'Dar, Richard Roundtree, William Smith, Sheree North, Barry Brenner, Victoria Catlin a další. Děj V New Yorku začal řádit bláznivý policis... |
Stručně shrň článek o tématu „Starci na chmelu“ a uveď hlavní fakta. | **Starci na chmelu**
Starci na chmelu je jeden z prvních a vůbec nejznámějších českých filmových muzikálů, natočený režisérem Ladislavem Rychmanem v roce 1964 podle námětu a scénáře Vratislava Blažka (který byl i autorem písňových textů) s Vladimírem Pucholtem, Ivanou Pavlovou a Milošem Zavadilem v hlavní roli. Příběh... | null | |
Write an SQL query to select one row from a table where two conditions are met. | Table: ‘products’ Condition 1: category is ‘clothing’ Condition 2: rating is greater than 3 | SELECT * FROM products WHERE category = 'clothing' AND rating > 3 LIMIT 1; | null |
Reformat the following HTML code to make it better readable. | <div><ul><li>Item 1</li><li>Item 2</li></ul></div> | <div> <ul> <li>Item 1</li> <li>Item 2</li> </ul> </div> | null |
Summarize key facts about „Battle of the Big Cross“ clearly and accurately. | **Battle of the Big Cross**
The Battle of the Big Cross was a military engagement of the Irish Rebellion of 1798 between a force of United Irishmen rebels and a column of government troops. It was fought on 19 June 1798 on a spot on the Shannonvale-Ballinascarty road known locally as the "Big Cross", approximately fou... | null | |
Kolik je 22 × 9? | 22 × 9 = 198 | null | |
How does JavaScript handle undeclared variables? | JavaScript will automatically create an undeclared variable if it is referenced in the code. The variable is then set to the undefined value. The variable cannot be set or accessed until it has been declared. The variable will also remain in the global scope. | null | |
Stručně shrň článek o tématu „Objemový průtok“ a uveď hlavní fakta. | **Objemový průtok**
Objemový průtok (objemový tok) je objem kapaliny nebo plynu, který proteče jedním místem (celým průřezem v jednom místě trubice) za jednotku času. Značení Značka: QV Jednotka SI: metr krychlový za sekundu, zkratka m3·s−1 V imperiálních jednotkách se průtok měří v CFS, CFPS (, kubické stopy za sekun... | null | |
Create a new list of strings of length greater than 5 from another list | ["apple", "banana", "carrot"] | long_words = [word for word in ["apple", "banana", "carrot"] if len(word) > 5] | null |
Implement `read_lines` in Python (načte řádky souboru). | ```python def read_lines(path: str) -> list[str]: with open(path, encoding="utf-8") as f: return f.read().splitlines() ``` | null | |
Write a Python function to sort the given array of dictionaries by key value. | arr = [{'name': 'Jose', 'age': 32}, {'name': 'Ravi', 'age': 23}, {'name': 'Paul', 'age': 26}] | def sort_by_key(arr): return sorted(arr, key=lambda i: i['name']) | null |
HTML snippet: image alt | ```html <img src="photo.jpg" alt="Popis fotky" width="800" height="600" /> ``` | null | |
Write a function in Java to calculate the sum of the even numbers in a given range of integers. | Start: 10 End: 20 | // Java Program to calculate the sum of all even // numbers in a given range public static int sumOfEvenInRange(int n1, int n2) { int sum = 0; // calculating the sum of all even numbers in given range for (int i = n1; i <= n2; i++) { // if num is even then add it if (i % 2 == 0) { sum += i; } } return sum; } | null |
null | null | null | Florentský slepičák
Florentský slepičák, též florentýnský slepičák, florentský holub nebo florentýn, je staré plemeno holuba domácího pocházející z Itálie. Původně byl vyšlechtěn jako užitkové, masné plemeno, současný florentský slepičák je plemeno čistě okrasné, harmonických tělesných tvarů. Je to velký, velmi mohutn... |
Create an HTML form that submits data to a server. | <form action="server.php" method="post"> <input type="text" name="name" placeholder="Your Name"> <input type="text" name="age" placeholder="Your Age"> <button type="submit">Submit</button> </form> | null | |
Explain what an object-oriented programming language is. | Object-oriented programming (OOP) is a programming language model in which programs are organized around objects rather than actions and data rather than logic. OOP languages allows the programmer to think in terms of classes and objects which makes it easier to maintain and modify existing code. In an OOP language, ob... | null | |
null | null | null | Neocoenyra bioculata
Neocoenyra bioculata is a butterfly in the family Nymphalidae. It is found in Malawi. Subspecies Neocoenyra bioculata bioculata (Malawi: Tsenga Mountains) Neocoenyra bioculata murphyi Collins, 1997 (Malawi: Dzelanyama, Kasitu Rock) References Satyrini Butterflies described in 1964 Endemic fauna of... |
Write an SQL query to join two tables using an inner join. | TableA id | name 1 | Joe 2 | Juan TableB id | age 1 | 25 2 | 30 | SELECT TableA.id, TableA.name, TableB.age FROM TableA INNER JOIN TableB ON TableA.id = TableB.id; | null |
Suggest a way of preserving the order of elements in a JavaScript array using a set data structure. | A Set data structure can be used for preserving the order of elements in a JavaScript array. To achieve this, the Set can be initialized with an array which contains the elements in the desired order. When adding elements to the Set, they will be added in the same order as they appear in the original array. This ensure... | null | |
Summarize key facts about „Imperium: Saint Peter“ clearly and accurately. | **Imperium: Saint Peter**
Imperium: Saint Peter is a 2005 Italian television-film about the life and work of Saint Peter. The film stars Omar Sharif as Peter, and was originally released as San Pietro. Cast Omar Sharif as Saint Peter Johannes Brandrup as Jesus Daniele Pecci as Paul the Apostle Lina Sastri as Mary Phil... | null |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.