2 + 2

0

Write a program to declare a square matrix A[][] of order M x M where 'M' is the number of rows and the number of columns, such that M must be greater than 2 and less tham 10.

By Beginner Ark Fen at Nov 05 2020

0

def get_label(Dir): for nextdir in os.listdir(Dir): if not nextdir.startswith('.'): if nextdir in ['NORMAL']: label = 0 elif nextdir in ['PNEUMONIA']: label = 1 else: label = 2 return nextdir, label

By Beginner Denise Braun at Jun 07 2020

0

const evenOrOdd = (number) => { // TODO: this should return "even" if the number is even, "odd" otherwise if (number % 2 === 0) { return "even"; // eslint-disable-next-line no-else-return } else { return "odd"; } }; in one line

By Beginner Bernard Nicolas at Oct 25 2020

0

Given a String S. Find out which of the following basic C++ data types it represents and its size (in bytes). The possible data types are: 1. Integer 2. Float 3. Double 4. Character

By Beginner Joe Bernier at Jul 15 2021

0

Error Code: 1055. Expression #2 of SELECT list is not in GROUP BY clause and contains nonaggregated column 'mydb.term.year' which is not functionally dependent on columns in GROUP BY clause; this is incompatible with sql_mode=only_full_group_by

By Beginner Roosevelt Gibson at Dec 15 2020

0

print pattern 1 2 3 4 5 6 11 12 13 14 15 21 22 23 24 25 16 17 18 19 20 6 7 8 9 10 in java

By Beginner Wm Dietrich at Mar 10 2021

1

mysqlworkbench Your connection attempt failed for user 'root' from your host to server at 127.0.0.1:3306: Authentication plugin 'caching_sha2_password' cannot be loaded: dlopen(/usr/local/mysql/lib/plugin/caching_sha2_password.so, 2): image not found

By Beginner Lawrence Schmeler at Oct 12 2020

0

could not load the visual c++ component "vcbuild.exe". to fix this, 1) install the .net framework 2.0 sdk, 2) install microsoft visual studio 2005 or 3) add the location of the component to the system path if it is installed elsewhere.

By Beginner Nathaniel Herman at Sep 06 2020

0

import csv import re data = [] with open('customerData.csv') as csvfile: reader = csv.DictReader(csvfile) for row in reader: data.append(row) print(data[0]) print(data[1]["Name"]) print(data[2]["Spent Past 30 Days"])

By Beginner Ann O'Keefe at Aug 09 2020

0

given an array of time intervals (start, end) for classroom lectures (possibly overlapping), find the minimum number of rooms required. for example, given [(30, 75), (0, 50), (60, 150)], you should return 2.

By Beginner Andrea Barrows at Jun 20 2021


Related code examples


Code examples by languages