Initially let me explain the whole situation. The database is Postgres 13. I need a "dynamic selection" In the first place... The tables I work with have many c
I can't seem to find out what is creating this undefined error in my basic rock paper scissor game it gives me to results instead of just one I'm trying to unde
We were asked to make a function named temperature conversions that accepts an integer argument called temperature, a secondary string parameter called input un
Consider the following struct: struct Toto { static int a; static void Print() { std::cout << a; } }; And the following main functio
Having a hard time understanding for loops in arrays. Trying to create a Thank You card creator and these are the steps I'm trying to follow: Create a new, empt
<?php $name = $_POST['name']; $email = $_POST['email']; $message = $_POST['message']; $from = 'From: yoursite.com'; $to = 'contact@yoursi
I recently saw a module that allows me to run my code simultaneously which happens to be what I need. However, as I was testing with function, I ran into some e
can anybody tell me how to implement a split function in mysql which behaves like Javascript split. I want a function like this SELECT Split('a,b,c,d', ',') A
I want to delete elements from an array for the given range (indexes) without using vector. For example, if the array is arr[5] = {1, 2, 3, 4, 5} and the lowRa
#here I want to define the self.__tree but I am not sure how to do so, how would I create the tree? oijh0ij0ihoihihoihou
Hello, Can someone please explain me this const {r,g,b} = this; Why it has no variable name, if 'this' is the variable name, to what that 'this' pointing to? f
I have a php recursive function as shown in the below: function displayDropdown(&$catList, $parent, $current=[], $level=0) { if ($parent==0) { foreac
I am reading a book called functional programming in C# by Enrico Buonanno public static Validator<T> FailFast<T> (IEnumerable<Validator<T&
I want to make a function that takes the directory of a .txt file as an input and returns a dictionary based on specific parameters. If the .txt file is empty,
I have a powershell script that reads and parses a text file. The file is read into memory and then processed line by line. When I switched from Powershell 4.0
I've only recently started with python so I'm not entirely certain what to do. I've tried renaming the function and the dictionary. Rearranged the formatting a
One of the C# Azure Function App generates messages and put them in azure storage queue, and we would like to use the Managed Identity as we don't want to use t
I tried to used reduce(ee.Reducer.max()) and reduce(ee.Reducer.min())in the follow function, but doesn't work very well. Max and min return the same value. How
I was trying to learn how to create classes in python and I wrote the following code to create a class called fraction. However, when I try to add two fractions
Consider: def fix_county_string(s): """ Insert Docstring """ fp = open("michigan_COVID_08_24_21.txt", "r") fp.readline() for line in fp: