instruction stringlengths 2 259 ⌀ | input stringlengths 0 442 ⌀ | output stringlengths 1 1.9k ⌀ | text stringlengths 273 2.08k ⌀ |
|---|---|---|---|
Modify the code so that it prints the given string in lowercase letters. | String: "HELLO WORLD" Code: #include<iostream> using namespace std; int main() { string s = "HELLO WORLD"; cout << s << endl; return 0; } | #include<iostream> #include<algorithm> using namespace std; int main() { string s = "HELLO WORLD"; // Convert string s to lowercase letters transform(s.begin(), s.end(), s.begin(), ::tolower); cout << s << endl; return 0; } | null |
null | null | null | Sedmikrásky
Sedmikrásky je český barevný film režisérky Věry Chytilové, klíčové dílo české nové vlny, natočené v roce 1966. Děj a inspirace Dvě dívky (Jitka Cerhová a Ivana Karbanová) se nudí a začnou si užívat podle své fantazie, v níž je dovoleno vše, což může mít pro okolí zničující účinky. Inspirací pro film se st... |
You need to find the total length of all words in a given array of strings. | arr = ["abc", "def", "ghi"] | total_length = sum([len(word) for word in arr]) | null |
Stručně shrň článek o tématu „Tegu“ a uveď hlavní fakta. | **Tegu**
Tegu (: 대구; 大邱) je město v Jižní Koreji, čtvrté největší podle počtu obyvatel. Leží v provincii Severní Kjongsang, ale není její součástí, má status metropolitního města. Od 27. srpna do 4. září 2011 se zde konalo 13. mistrovství světa v atletice na stadiónu Daegu World Cup Stadium. Doprava Na území města je ... | null | |
null | null | null | Gamaches
Gamaches je francouzská obec v departementu Somme v regionu Hauts-de-France. V roce 2012 zde žilo 2 730 obyvatel. Je centrem kantonu Gamaches. Poloha obce Obec leží u hranic departementu Somme s departementem Seine-Maritime, tedy i u hranic regionu Hauts-de-France s regionem Normandie. Sousední obce jsou: Bea... |
Summarize key facts about „Barchhawa“ clearly and accurately. | **Barchhawa**
Barchhawa is a village development committee in Siraha District in the Sagarmatha Zone of south-eastern Nepal. At the time of the 2011 Nepal census it had a population of 3701 people living in 737 individual households. References External links UN map of the municipalities of Siraha District Populated p... | null | |
Change the following program to use a try/except/finally block to handle errors. | def read_file(file): with open(file) as f: for line in f: print(line) | try: def read_file(file): with open(file) as f: for line in f: print(line) except IOError: print("Error: Could not read file") finally: print("Closing file") f.close() | null |
Stručně shrň článek o tématu „Working Class Hero“ a uveď hlavní fakta. | **Working Class Hero**
Working Class Hero () je píseň Johna Lennona z prvního alba John Lennon/Plastic Ono Band po rozpadu The Beatles. Cover verze Píseň je velmi oblíbená jako cover verze: kapela Davida Bowieho Tin Machine Cyndi Lauper Roger Taylor Marilyn Manson Noir Désir Ozzy Osbourne Manic Street Preachers Green ... | null | |
You should write a MySQL command to count how many records in the table "users". | SELECT COUNT(*) FROM users; | null | |
Summarize key facts about „Closed Circuit (album)“ clearly and accurately. | **Closed Circuit (album)**
Closed Circuit is the sixth and final album by New Zealand composer Peter Jefferies, released on October 23, 2001 through Emperor Jones. Track listing Personnel Michael Hill – engineering Peter Jefferies – vocals, guitar, bass guitar, drums, percussion, piano, keyboards, production, engineer... | null | |
null | null | null | Gugchin
Gugchin (, also Romanized as Gūgchīn; also known as Gūgchī and Gukchin) is a village in Kahshang Rural District, in the Central District of Birjand County, South Khorasan Province, Iran. At the 2016 census, its population was 190, in 75 families. References Populated places in Birjand County |
null | null | null | Hlybokaje
Hlybokaje (, – Glubokoje) je město ve Vitebské oblasti v Bělorusku, správní středisko Hlybockého rajónu. K roku 2017 mělo přes devatenáct tisíc obyvatel. Poloha a doprava Hlybokaje leží na západě Vitebské oblasti a od Vitebsku, jejího správního střediska, je vzdáleno zhruba 200 kilometrů západně. Hlybokaje j... |
Convert the following string to a list of strings. | words = "How are you doing today" | words = ["How", "are", "you", "doing", "today"] | null |
null | null | null | Hediste
Hediste is a genus of annelids belonging to the family Nereididae. The species of this genus are found in Europe, Japan and Northern America. Species Species in this genus include: Hediste atoka Sato & Nakashima, 2003 Hediste diadroma Sato & Nakashima, 2003 Hediste diversicolor (O. F. Müller, 1776) References ... |
null | null | null | Charlie Howlett
Charles Howlett (September 1864 – 17 August 1906) was an English footballer who played for Sheffield United as a goalkeeper in The Football League, with whom he made over 100 competitive appearances. Born in Glanford he also had two spells at Gainsborough Trinity. Playing career Howlett started his car... |
null | null | null | Posthodiplostomum
Posthodiplostomum is a genus of flatworms belonging to the family Diplostomidae. The species of this genus are found in Europe, Australia and Northern America. Species: Posthodiplostomum brevicaudatum (von Nordmann, 1832) Posthodiplostomum centrarchi References Platyhelminthes |
Summarize key facts about „Ballymena (borough)“ clearly and accurately. | **Ballymena (borough)**
Ballymena is a former local government district with borough status in Northern Ireland. It was one of twenty-six districts created on 1 October 1973 and covered the town of Ballymena and the surrounding area which includes small towns including Broughshane, Cullybackey, Galgorm, Ahoghill and P... | null | |
Stručně shrň článek o tématu „The Jones Girls“ a uveď hlavní fakta. | **The Jones Girls**
The Jones Girls je dívčí R&B trio, sestavené ze sester pocházející z Detroitu. Nejprve nahrávali pro firmu GM Records v roce 1968, později pro P.I.R., Philadelphiskou firmu vlastněnou Gamble & Huff. Historie Jones Girls se skládají ze sester Brendy, Valorie a Shierly Jonesové. Kdysi pracovali i jak... | null | |
Create an array in Java to store 5 integer values. | int [] numArray = new int[5]; | null | |
Stručně shrň článek o tématu „Linie následnictví bhútánského trůnu“ a uveď hlavní fakta. | **Linie následnictví bhútánského trůnu**
Následnictví bhútánského trůnu se řídí principem kognatické primogenitury (muži mají přednost před ženami jen na stejné úrovni tj. bratr před sestrou) tj. trůn dění nejstarší syn krále, popř. vnuk, poté mladší synové či vnuci a poté starší dcera, její potomci a poté mladší dcer... | null | |
Summarize key facts about „Society for the Preservation of Downtown Los Angeles“ clearly and accurately. | **Society for the Preservation of Downtown Los Angeles**
Society for the Preservation of Downtown Los Angeles, also known as SP-DTLA, is a 501(c)(3) organization that advocates what it characterizes as responsible and respectful development around and among Downtown Los Angeles' historic structures. SP-DTLA supports d... | null | |
Write an HTML form with two input fields, one for the user's name and one for the user's age. | <form> <label>Name:</label><input type="text" name="name"><br> <label>Age:</label><input type="number" name="age"><br> <input type="submit" value="Submit"> </form> | null | |
null | null | null | Rainer Maria
Rainer Maria is an American emo band from Madison, Wisconsin, later residing in Brooklyn, New York. The band was originally active from 1995 to 2006 and reunited in 2014. History Caithlin De Marrais, Kaia Fischer and William Kuehn formed the band in late summer of 1995 and named it after the German-langua... |
null | null | null | Shoaff
Shoaff is a surname. Notable people with the surname include: Benny Shoaff (1897–1960), American racing driver Carrie M. Shoaff (1849–1939), American artist, author, potter, playwright, correspondent John Earl Shoaff (1916–1965), American entrepreneur and philosopher See also Shoaf |
Stručně shrň článek o tématu „US Open 2007 – smíšená čtyřhra“ a uveď hlavní fakta. | **US Open 2007 – smíšená čtyřhra**
Tenisový turnaj smíšené čtyřhry US Open 2007 se konal od 27. srpna do 9. září 2007 v Národním tenisovém centru Billie Jean Kingové ve Flushing Meadows. Titul měli obhajovat Martina Navrátilová a Bob Bryan, ale Navrátilová na konci roku 2006 ukončila sportovní kariéru. Bryan byl partn... | null | |
Stručně shrň článek o tématu „Yuppies“ a uveď hlavní fakta. | **Yuppies**
Yuppies (česky někdy jupíci) je označení pro vrstvu, resp. subkulturu mladých lidí (typicky dvacátníků nebo třicátníků), kteří jsou bohatí nebo aspoň finančně zajištěni (mají nadprůměrně dobře placené zaměstnání, zpravidla v oblasti managementu), za svůj úspěch a bohatství se nestydí, a mají specifický živ... | null | |
null | null | null | Emil Šulc
Emil Šulc (1. května 1891 – 3. ledna 1957, Praha, Československo) byl český architekt, jehož návrhy se realizovaly především v Praze. Dle jeho plánů se roku 1921 na domě na pražském Vyšehradě (Vratislavova 28/VI) upravily fasády v přízemí. O tři roky později realizoval zastřešení části dvora a zbudoval kavár... |
Ahoj! | Ahoj! Jsem tu pro kód, vysvětlení i češtinu. | null | |
Summarize key facts about „Institute of Local Government Studies“ clearly and accurately. | **Institute of Local Government Studies**
The Institute of Local Government Studies (ILGS) is a Government of Ghana institution established in 1999 with the mandate to educate students in public management and development. The institution is backed by Act of Parliament, 647 of 2003. The institute is under the Ministry... | null | |
null | null | null | Monsanto family
The Monsanto family is a historical Sephardic Jewish merchant and banking business who played a significant role in founding the Jewish community in Colonial Louisiana (then transferring between French and Spanish rule) in the 18th century. They had originated in the Iberian Peninsula but moved to Amst... |
Create an AI chatbot using JavaScript and Natural Language Processing. | const { NlpManager } = require('node-nlp'); const manager = new NlpManager({ languages: ['en'] }); manager.addDocument('en', 'Good morning', 'greet.morning'); manager.addDocument('en', 'Good evening', 'greet.evening'); manager.addDocument('en', 'Hi', 'greet.hello'); manager.addAnswer('en', 'greet.morning', 'Good mornin... | null | |
Write a Python function to calculate the sum of the areas of a given list of circles, where each circle is defined as a dictionary containing 'radius' and 'x' as keys. | [{'radius': 3, 'x': 5}, {'radius': 4, 'x': 7}, {'radius': 5, 'x': 9}] | def sum_areas(circles): total = 0 for circle in circles: area = 3.14 * circle['radius'] ** 2 total += area return total | null |
Construct an SQL query to get the sum of all integers in a given table over a condition. | table: books condition: price > 20 | SELECT SUM(price) FROM books WHERE price > 20; | null |
Write a Python function `read_lines` that 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 | |
Stručně shrň článek o tématu „9. století“ a uveď hlavní fakta. | **9. století**
9. století je podle Gregoriánského kalendáře období mezi 1. lednem 801 a 31. prosincem 900 našeho letopočtu. Jedná se o deváté století prvního tisíciletí. Křesťanská Evropa se v tomto století ocitla pod náporem nájezdů Arabů, Vikingů a Maďarů. Významné události 800 byl franský král Karel Veliký korunová... | null | |
Write code for finding the maximum of two numbers given as input. | x=15, y=17 | let maxNum = 0; if (x > y) { maxNum = x; } else { maxNum = y; } console.log("The maximum of x and y is:", maxNum); | null |
null | null | null | Gustáv Plavec
Gustáv Plavec (4. dubna 1904 – 5. listopadu 1971) byl slovenský evangelický farář, spisovatel a publicista. Byl redaktorem časopisu evangelické mládeže Prameň. Slovenští protestantští duchovní Slovenští spisovatelé Narození v roce 1904 Úmrtí v roce 1971 Muži |
null | null | null | Velká ruská encyklopedie
Velká ruská encyklopedie (rus. Большая российская энциклопедия, zkr. БРЭ) je všeobecná ruskojazyčná encyklopedie. Je vydávána péčí Ruské akademie věd od roku 2004. Roku 2004 vyšel první nečíslovaný díl s jediným heslem Rusko (Россия); v letech 2005–2017 následovalo 35 číslovaných svazků (A–Яя)... |
null | null | null | Gaston Waringhien
Gaston Waringhien, pseudonym E. G. Maura (20. července 1901 – 20. prosince 1991), byl francouzský profesor, lexikolog a gramatik esperanta. Dílo Podílel se na popularizaci esperanta, překládal jak z francouzštiny do esperanta, tak z esperanta. Byl redaktorem esperantistické literární revue La nica li... |
Kolik je 25 - 7? | 25 - 7 = 18 | null | |
Napiš Android app v Kotlinu. Buď upřímný. | Kotlin/Android nedělám. Můžu pomoct s webem (HTML/JS/PHP) nebo Python skripty. | null | |
Change the For loop statement below to a While loop statement: | for i in range(0, 5): | i = 0 while i < 5: i += 1 | null |
Parse the data in the given json to a list of key-value dictionaries | {"country": "faculty of engineering", "students": 15000, "graduates": 1200 } | [{'country': 'faculty of engineering', 'students': 15000}, {'graduates': 1200}] | null |
Summarize key facts about „Brenta“ clearly and accurately. | **Brenta**
Brenta may refer to: Brenta (river), Italy Brenta, Lombardy, a commune (municipality) Brenta Group, mountain Brenta (Milan Metro), a metro station Brenta Valley Brenta (surname) See also Brena (disambiguation) Brenda (disambiguation) | null | |
null | null | null | Ólafur Rafnsson
Ólafur Eðvarð Rafnsson (7. dubna 1963 – 19. června 2013 Ženeva) byl islandský basketbalista a basketbalový funkcionář. Život Hrál basketbal, v roce 1988 se stal mistrem Islandu s týmem Haukar Hafnarfjörður. Nastupoval též za reprezentaci a hrál evropské klubové poháry. Byl také trenérem, a to až na úro... |
Implementuj `last_n` v Pythonu — vrátí posledních n prvků. | ```python def last_n(xs: list, n: int) -> list: return xs[-n:] if n else [] ``` | null | |
Create a HTML form to enter a “new value” into the field named “input1”. | <form action='/post_input1_value' method='POST'> New Value: <input type="text" name="input1"> <input type="submit" value="Enter New Value"> </form> | null | |
Přelož do angličtiny: Praha je hlavní město České republiky. | Prague is the capital of the Czech Republic. | null | |
Create a MySQL query that returns the sum of the points scored by all students. | Table Name: student_points Table Structure: student_id INTEGER, points INTEGER | SELECT SUM(points) FROM student_points; | null |
Stručně shrň článek o tématu „Beočin“ a uveď hlavní fakta. | **Beočin**
Beočin (v srbské cyrilici Беочин) je město v západní části autonomní oblasti Vojvodiny, v severním Srbsku. Patří k menším městům; v roce 2002 měl 8 058 obyvatel. Administrativně je součástí Jihobačského okruhu a historicky jedním ze sídel v regionu Bačka, který ohraničuje ze severu řeka Dunaj a z jihu řeka ... | null | |
Modify a given program to replace each element in an array with the sum of all elements before it. | [1,2,3,4] | def pref_sum(a): output = [a[0]] for i in range(1, len(a)): output.append(a[i] + output[i-1]) return output | null |
Insert a given element into the correct position of the list. | list = [1,3,4,5] element = 2 | list = [1,2,3,4,5] | null |
Čau! | Ahoj! Jsem tu pro kód, vysvětlení i češtinu. | null | |
Create a program in Ruby to print the Fibonacci sequence until the 10th element. | def fibonacci_sequence a = 0 b = 1 10.times do yield(b) c = a a = b b = c + b end end fibonacci_sequence do |num| puts num end | null | |
null | null | null | Dětská psychiatrická klinika Fakultní nemocnice v Motole
Dětská psychiatrická klinika Fakultní nemocnice v Motole je součástí motolské fakultní nemocnice a zároveň klinickým výukovým pracovištěm 2. lékařské fakulty Univerzity Karlovy. Přednostou kliniky je prof. MUDr. Michal Hrdlička, CSc. a zástupkyní přednosty, prim... |
null | null | null | US Open 2007
US Open 2007 byl 126. ročníkem posledního grandslamového turnaje tenisové sezóny. Odehrával se na dvorcích Národního tenisového centra Billie Jean Kingové ve Flushing Meadow (New York, USA), jakožto Mezinárodní tenisové mistrovství USA. Pro tento rok v období mezi 27. srpnem a 9. zářím 2007. Obhájci vítěz... |
Implement a binary search algorithm using Python. | nums = [1, 2, 3, 4, 5, 6, 7, 8, 9] | def binary_search(nums, target): start = 0 end = len(nums) - 1 while start <= end: mid = start + (end - start)//2 if nums[mid] == target: return mid if nums[mid] > target: end = mid - 1 else: start = mid + 1 return -1 | null |
Analyze the sentiment of this statement using Python. | I am truly happy with the amazing results | import nltk nltk.download('vader_lexicon') from nltk.sentiment.vader import SentimentIntensityAnalyzer sentence = "I am truly happy with the amazing results" analyzer = SentimentIntensityAnalyzer() sentiment = analyzer.polarity_scores(sentence) print("The sentiment of the statement is:", sentiment['compound']) | null |
null | null | null | Star Courier
The Star Courier is an American daily newspaper published in Kewanee, Illinois. It is owned by Gannett. The daily newspaper is the largest of Gannett's holdings in Henry County, Illinois, which also include the shopper publication Henry County Advertizer and four weekly newspapers in outlying towns: the C... |
Summarize key facts about „Alan Docking Racing“ clearly and accurately. | **Alan Docking Racing**
Alan Docking Racing (ADR) is a motor racing team based in Silverstone, United Kingdom. The team was formed in 1975 by Australian Alan Docking. The team competed in the British Formula 3 series throughout most of its existence; however, it has also graduated to A1 Grand Prix and Superleague Form... | null | |
Kolik je 16 - 14? | 16 - 14 = 2 | null | |
Write functions to add two integers in Ruby. | def add_integers(a,b) return a + b end | null | |
Write a Python script to count the number of occurances of each character in a given string. | string = "Mississippi" | def count_chars(string): char_occurrences = {} for char in string: if char not in char_occurrences: char_occurrences[char] = 1 else: char_occurrences[char] += 1 return char_occurrences | null |
null | null | null | Zemské volby v Čechách 1889
Zemské volby v Čechách 1889 byly volby konané v Českém království 2. a 5. července 1889, kterými byli zvoleni poslanci Českého zemského sněmu coby zákonodárného sboru zemské samosprávy v rámci rakousko-uherského, respektive předlitavského ústavního systému. Probíhaly podle kuriového systému... |
Napiš HTML: link css. | ```html <link rel="stylesheet" href="styles.css" /> ``` | null | |
Summarize key facts about „Sangtab, Simorgh“ clearly and accurately. | **Sangtab, Simorgh**
Sangtab (, also Romanized as Sangtāb and Sang Tāb) is a village in Talarpey Rural District of Talarpey District, Simorgh County, Mazandaran province, Iran. At the 2006 National Census, its population was 786 in 215 households, when it was in the former Kiakola District of Qaem Shahr County. The fo... | null | |
Use the given data to print out the average of the numbers. | [1, 7, 8, 10] | def calculateAverage(nums): average = 0 for num in nums: average += num return average / len(nums) print(calculateAverage([1,7,8,10])) # Output: 6.5 | null |
Stručně shrň článek o tématu „Rolls-Royce Olympus“ a uveď hlavní fakta. | **Rolls-Royce Olympus**
Rolls-Royce Olympus (původně Bristol B.E.10 Olympus) byl první dvouhřídelový proudový motor s axiálním kompresorem určený pro letecké účely. Jeho vývoj se dá vystopovat do listopadu 1946. Vyvinut a vyráběn byl původně firmou Bristol Aero Engines a jeho první rozběh se uskutečnil v roce 1950. Ne... | null | |
null | null | null | Neocoenyra gregorii
Neocoenyra gregorii is a butterfly in the family Nymphalidae. It is found in Somalia, Kenya, Uganda, Tanzania, the eastern part of the Democratic Republic of the Congo and Malawi. The habitat consists of montane grassland and forest-grassland mosaic at altitudes up to 3,000 meters and open thorn-bu... |
null | null | null | Pseudoleucania marii
Pseudoleucania marii is a moth of the family Noctuidae. It is found in the Maule and Magallanes and Antartica Chilena Regions of Chile and San Martín de los Andes, Copahue and Neuquén in Argentina. The wingspan is 28–30 mm. Adults are on wing from January to April. External links Noctuinae of Chil... |
Implement `count_vowels` in Python (spočítej samohlásky v textu). | ```python def count_vowels(s: str) -> int: vowels = set("aeiouyáéíóúůýAEIOUYÁÉÍÓÚŮÝ") return sum(1 for ch in s if ch in vowels) ``` | null | |
Write Python code to fill missing values in a Pandas dataframe with a given value. | import pandas as pd df = pd.DataFrame([ [8, 'B', 'G'], [28, 'B', np.nan], [22, np.nan, 'G'], [2, 'A', np.nan] ]) | import pandas as pd df = pd.DataFrame([ [8, 'B', 'G'], [28, 'B', np.nan], [22, np.nan, 'G'], [2, 'A', np.nan] ]) df.fillna(value='NA', inplace=True) | null |
How do you develop a software application through agile? | Developing a software application through agile is a process that systematically focuses on small, incremental changes that are then tested on a regular basis to ensure their effectiveness. This type of development conflicts with traditional linear development approaches that focus on big, planned and predetermined cha... | null | |
Python function for: 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 | |
null | null | null | 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 Dmi... |
Summarize key facts about „Jacksonville State University“ clearly and accurately. | **Jacksonville State University**
Jacksonville State University is a public university in Jacksonville, Alabama. Founded in 1883, Jacksonville State offers programs of study in six academic schools leading to bachelor's, master's, education specialist, and doctorate degrees in addition to certificate programs and cont... | null | |
Spočítej 10×8 | 10 × 8 = 80 | null | |
What is "type casting" in programming? | In programming, type casting is the process of converting a value from one data type to another. This is done either explicitly, by writing a cast operator, or implicitly, which is done by the programming language itself. Type casting is often used to convert values from one type to another to enable a program to work ... | null | |
Write a Python script to calculate the total of all the elements in a nested list. | nested_list = [[1,2,3], [4,5,6], [7,8,9]] | def sum_of_nested_list(nested_list): total = 0 for internal_list in nested_list: for num in internal_list: total += num return total | null |
Find the fifth smallest number in a list of numbers using Java. | list of numbers: [23, 12, 15, 7, 34, 19] | int compareToFindSmallest(int[] numbers, int targetIndex) { int smallestIndex = 0; for (int i = 1; i < numbers.length; i++) { if (numbers[i] < numbers[smallestIndex]) { smallestIndex = i; } } int tempIndex = smallestIndex; int resultIndex = -1; int count = 0; while (resultIndex == -1) { count++; if (smallestIndex == te... | null |
Create a query in SQL to find the name and address of the customers who purchased a particular product. | Product Name: Mobile Phone | SELECT name, address FROM customers INNER JOIN orders ON customers.customer_id = orders.customer_id INNER JOIN products ON orders.product_id = products.product_id WHERE products.name = 'Mobile Phone'; | null |
Create a Python script to combine two lists into a dictionary | list1 = [1, 2, 3] list2 = ["a", "b", "c"] | list1 = [1, 2, 3] list2 = ["a", "b", "c"] def combine_lists(list1, list2): """Combine two lists into a dictionary""" return {key: value for key, value in zip(list1, list2)} if __name__ == '__main__': list1 = [1, 2, 3] list2 = ["a", "b", "c"] print(combine_lists(list1, list2)) | null |
Construct a matrix using the given list of numbers. | numbers = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10] | matrix = [[1, 2, 3], [4, 5, 6], [7, 8, 9], [10]] | null |
null | null | null | Ataxie
Ataxie (z řeckého ατάξις, : ataxia) je neurologický symptom spočívající v poruše koordinace pohybů. Jedná se o nespecifický klinický projev naznačující dysfunkci části nervové soustavy zodpovědné za koordinaci pohybů, jako je například mozeček. Pro ataxii existuje vzácně používané synonymum – „dystaxie.“ Odkazy... |
Find the index of the first occurrence of the word 'data' in the text 'The data here is important'. | The index of the first occurrence of 'data' is 4. | null | |
Stručně shrň článek o tématu „Valda Vinař“ a uveď hlavní fakta. | **Valda Vinař**
Valda Vinař (1918–1981) byl esperanstský režisér, básník a spisovatel. Dílo Ĉeĥaj fabeloj Skandalo pro Jozefo Ĉerande de l'abismo Čeští básníci Čeští esperantisté Čeští překladatelé Čeští spisovatelé Spisovatelé píšící esperantem Narození v roce 1918 Narození 31. května Narození v Kaposváru Úmrtí v roc... | null | |
null | null | null | Pelikán africký
Pelikán africký (Pelecanus rufescens) je jedním z menších druhů pelikánů, který obývá tropickou a subtropickou severní Afriky od Senegalu na západě až po Etiopii na východě a dále přes rovník až po Jihoafrickou republiku na jihu kontinentu. Někdy zalétává na sever až na Kanárské ostrovy, do Maroka, Egy... |
null | null | null | Batolec
Batolec (Apatura) je rod motýlů z čeledi babočkovití. Rod popsal v roce 1807 Johan Christian Fabricius v časopise Magazin für Insektenkunde (Illiger) na straně 280 v čísle 6. Všechny druhy tohoto rodu jsou v Česku chráněny zákonem jako ohrožené. Druhy v Česku Podle Batolec červený – Apatura ilia Batolec duhový... |
What does the acronym "CSS" stand for? | CSS stands for "Cascading Style Sheets", which is a style sheet language used for describing the presentation of a webpage written in HTML or XML. | null | |
Summarize key facts about „Paul Denman“ clearly and accurately. | **Paul Denman**
Paul Spencer Denman (born July 1957) is an English songwriter and bass guitarist. With Sade Adu, Andrew Hale, and Stuart Matthewman, Denman gained worldwide fame as the bass guitarist of the English band Sade. He is also a member of the English band Sweetback. Early life Born in Hull, from 1959 to 1979... | null | |
Determine if a given word is a valid word of English language. | Word: lycanthropy | Yes, lycanthropy is a valid word of English language. | null |
Stručně shrň článek o tématu „Kolhápur“ a uveď hlavní fakta. | **Kolhápur**
Kolhápur (, ) je město v Maháráštře, svazovém státě na jihozápadě Indie. Je hlavním městem stejnojmenného okresu. K roku 2011 měl zhruba 550 tisíc obyvatel. Poloha a doprava Kolhápur leží ve vnitrozemí u jihovýchodního okraje Maháráštry jen zhruba dvacet kilometrů severozápadně od hranice s Karnátakou. Je... | null | |
Napiš řešení v Pythonu: Best time to buy/sell stock once. | ```python def max_profit(prices: list[int]) -> int: best = 0 lo = prices[0] for p in prices[1:]: best = max(best, p - lo) lo = min(lo, p) return best ``` | null | |
Using Python, write code to check if a list contains duplicates or not. | list = [10, 20, 30, 40, 50] | def has_duplicates(list): seen = set() for item in list: if item in seen: return True seen.add(item) return False | null |
Update the code to handle cases when the two numbers in the array are the same. | def add_two_numbers(nums): return nums[0] + nums[1] | def add_two_numbers(nums): if nums[0] == nums[1]: return nums[0] else: return nums[0] + nums[1] | null |
Explain B-Tree data structure. | B-trees are a kind of self-balancing search tree data structure. They are frequently used in databases, file systems, and operating systems. A B-tree consists of a root node, internal nodes, and leaf nodes. The root may or may not have values associated with it. Internal nodes store values and pointers to subtrees to t... | null | |
CORS error v prohlížeči při volání API. Co dělat? | Prohlížeč blokuje cross-origin request. Na backendu nastav CORS (např. FastAPI `CORSMiddleware`) s povoleným origin frontendu, nebo proxy přes stejnou doménu. | null | |
Stručně shrň článek o tématu „Vůz ARmpee832 ČD“ a uveď hlavní fakta. | **Vůz ARmpee832 ČD**
{{DISPLAYTITLE:Vůz ARmpee832 ČD}} Vozy ARmpee832, číslované v intervalu 61 54 85-71, jsou řadou osobních vozů první třídy s barovým oddílem z vozového parku Českých drah. Všechny tyto vozy (001–006) vznikly v letech 2009–2010 modernizací pěti vozů řady BRm830 a jednoho vozu řady BRcm831 v ŽOS Vrút... | null | |
Design a code to search a given element x in a vector. | vector: [3, 17, 5, 11], x: 5 | def search_x(x, vector): for i in range(len(vector)): if vector[i] == x: return i return -1 | null |
Summarize key facts about „Damselfish“ clearly and accurately. | **Damselfish**
Damselfish are those within the subfamilies Abudefdufinae, Chrominae, Lepidozyginae, Pomacentrinae, and Stegastenae within the family Pomacentridae. Most species within this group are relatively small, with the largest species being about 30cm (12 in) in length. Most damselfish species exist only in mar... | null |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.