[Solved] Real projects on .Net Core [closed]

Whilst I agree that this is not the correct forum for such a question, a quick and simple Google search suggests that https://www.ageofascent.com/ is built on .Net Core to some degree. Additionally, although not quite what you’re looking for, .Net Core is supported in lots of Windows Docker containers running Windows Server Core, due to … Read more

[Solved] My Java code is not running [closed]

As others stated before, value of remainder is set only once. However, you check it a hundred times expecting it to tell you something else every time. I’d suggest putting it inside a loop, so you get a “fresh” value for every number. public class Even { public static void main(String args[]) { int number … Read more

[Solved] I want to display words separate from a sentence

sentence = “Get a sentence from the user and display it back with one word per line.” for character in range(len(sentence)): if sentence[character] == ‘ ‘ or sentence[character] == ‘.’ or sentence[character] == ‘,’: print(“”) else: print(sentence[character], end=”) OUTPUT: Get a sentence from the user and display it back with one word per line solved … Read more

[Solved] Print function values [closed]

import numpy as np x_range = np.arange(-3, -0.8, 0.2) for x in x_range: y = (x**2)/2 – 4*x print(“{:.2f} -> {:.2f}”.format(x, y)) if you want to store the y values for each x: import numpy as np x_range = np.arange(-3, -0.8, 0.2) y_vals = [] for x in x_range: y = (x**2)/2 – 4*x y_vals.append(y) … Read more

[Solved] Not importing shape in python

the logic of the posted code is flawed, you set the turtle object at the beginning and it appears (as it should). but then you use an endless loop that update the object but there is nothing to update. so the code after the loop is never executed -> no shape will appear So doing … Read more

[Solved] how to convert string to date or date to string [closed]

Resum_Controls_Data_txt is type of String not Date, so you have to convert date to string using DateFormatter as follow: let formatter = DateFormatter() formatter.locale = Locale(identifier: “en_US_POSIX”) formatter.dateFormat = “HH:mm E, d MMM y” //add date format whichever you want cell.Resum_Controls_Data_txt.text = formatter.string(from: control.data) 2 solved how to convert string to date or date to … Read more

[Solved] Difference between & and * [duplicate]

&p gets the pointer to the integer p -> That is, the memory address in which p is stored. *p “dereferences” the pointer, i.e. looks at the object at the memory address provided by p and returns that object. Your code above is invalid C, as you cannot dereference an int: error: indirection requires pointer … Read more

[Solved] what is the difference? Why the first one give me an error?

When you call dict() with an iterable it expects that iterable to return pairs of values, that it can use as keys and values to create the dict. So, these examples are all valid: dict([(‘key’, ‘value’), (‘other_key’, ‘other_value’)]) dict([‘ab’, ‘bc’, ‘dd’]) # ‘ab’ is pretty much equivalent to a list [‘a’, ‘b’] dict([[‘a’, 1], [‘b’, … Read more

[Solved] How can you use structures in modular programming?

Well, this is a problem: fillwordnr(f,p[].ptrletter,p[].numbers,lines,nrofline,a,c,string[]); You have to specify which element of p you want to work with – p[0], p[1], p[i], etc. Assuming nrofline is a valid index for p, you would write fillwordnr( f, p[nrofline].ptrletter, p[nrofline].numbers, lines, nrofline, a, c, string ); Honestly, based on the code you’ve posted, it’s not clear … Read more