## Beginner – PYTHON A program that first asks the user how much change is due and then spits out the minimum amount of coins with which such change can be made

Suppose the only coins available are quarter (25 ¢), dime (10 ¢), nickel (5 ¢), and penny (1 ¢).

change = float(input('change='))
list =(.25,.1,.05,.01)
list.sort(reverse=True)
print(list)
count=0
for i in range(len(list)):

a = int(change/list(i))
costa = float(a*list(i))
change= change- costa
count=count+a
print(count)


## large notation o: asks about what an O (N ^ 3) looks like using while / for loops

Thanks for contributing with a response to Computer Science Stack Exchange!

• Please make sure answer the question. Please provide details and share your research!

But avoid

• Ask for help, clarification or respond to other answers.
• Make statements based on opinion; back them up with references or personal experience.

Use MathJax to format equations. MathJax reference.

For more information, check out our tips on how to write great answers.

## Trying to update macOS to Catalina 10.15.4 asks to restart again and again

When I open the Software Update, I have:

An update is available for your Mac

• MacOS Catalina 10.15.4 update

When I click "Update Now", I have a window with:

To update, you must restart your Mac.

If I click on restart, I restart effectively, but when I try to update it asks me
reboot again.

I have a MacBook Pro (Retina, 13-inch, early 2015) and 12.29 GB available.

## pushdown automata – NPDA Computer Theory asks

Thanks for contributing with a response to Computer Science Stack Exchange!

• Please make sure answer the question. Please provide details and share your research!

But avoid

• Ask for help, clarification or respond to other answers.
• Make statements based on opinion; back them up with references or personal experience.

Use MathJax to format equations. MathJax reference.

For more information, check out our tips on how to write great answers.

## network administrator – polkit constantly asks for password while looking at wifi settings

#### Stack Exchange Network

The Stack Exchange network consists of 175 question and answer communities, including Stack Overflow, the largest and most trusted online community for developers to learn, share their insights, and develop their careers.

Visit Stack Exchange

## Only if the spell says so

There are spells that can direct multiple attacks against the same target, but use a different language. Instead of saying he chooses a number of targets, that spell says he creates a number of attacks (or attacks, or missiles, etc.) and then requires that he choose a target for each attack. Some spells that use this language are magic missile, scorching rayY explosive explosion. For example, here is the language used to magic missile:

You create three bright darts of magical strength. Each dart hits a creature of your choice that you can see within range. A dart deals 1d4 + 1 of force damage to its target. All darts hit simultaneously and you can direct them to hit one or more creatures.

Note that the spell is written in such a way that the same number of darts is created regardless of how many different targets you choose. The last clause makes it explicit that multiple darts can be directed to the same goal, but even the first 2 sentences alone are enough to establish this.

As for its specific examples:

## None steel wind strike neither acid splash can attack the same creature twice

The targeting clause for this spell is:

Choose up to five creatures that you can see within range. Perform a melee attack against each target.

First you choose the objectives and then you can do one attack against each chosen target. If you only choose a single target, you can only make a single attack. The same logic applies to acid splash: If you point to only one creature, then you are not targeting 2 creatures. Acid only splashes each target once.

## Any other interpretation leads to absurd results.

If you rule that effects like these can choose the same target several times to accumulate multiple effects on that target, that would make the Hunter Ranger Whirlwind Attack infinitely powerful:

You can use your action to perform a melee attack against any number of creatures within 5 feet of you, with a separate attack roll for each target.

Simply choose to attack the same creature 1000 times. It says any number, right? Even better, choose each creature in range 1000 times and instantly kill them all. Clearly, this is not a reasonable decision. It is certain that there are other ridiculous edge cases like this if it allows multiple orientation of the same creature in this way.

## nt.number theory – Maximum common divisor as a nonlinear combination $ax + by + alpha xy$ and asks about the related function

There is this well-known elementary theorem:

Each pair of integers $$to$$ Y $$b$$ has a common divisor $$d$$ Shape $$d = ax + for$$. In addition, each common divisor of $$to$$ Y $$b$$ divide this $$d$$.

Then, the greatest common divisor can be represented linearly as a function of $$to$$ Y $$b$$.

But, it seems to me that also an interesting question is when the greatest common divisor can be represented as follows $$ax + for + alpha xy$$, where $$alpha in mathbb Z$$ It is something constant.

It seems obvious that for some $$alpha$$ the greatest common divisor $$d$$ will not be expressible in the form $$ax + for + alpha xy$$ but for some other $$alpha$$ It will be expressible.

At least, $$d$$ is expressible as $$ax + for + alpha xy$$ Yes $$alpha = 0$$ but surely for some $$a, b in mathbb Z$$ the chose $$alpha = 0$$ It's not the only one.

Assume that by $$(a, b) in mathbb Z times mathbb Z$$ set $$((a, b))$$ it is the set of all $$alpha$$ such that $$d = ax + for + alpha xy$$so, for example, if for some $$(a, b)$$ we have that $$d = ax + for + alpha_r xy$$ for $$r = 1, …,$$ then $$alpha_r in beta ((a, b))$$.

Yes $$text {noe} ( beta ((a, b)))$$ of note the number of elements in the set $$((a, b))$$ so I would like to know at least some information about the function $$(a, b) to text {noe} ( beta ((a, b)))$$ And what is generally known about that function, for example, some properties of it or some rules that govern its behavior?

## James Carville asks the Democrats: "Do we want to be an ideological cult? Or do we want to have a majority instinct …?

After the defeat of John Kerry in 2004, DNC President Howard Dean said that the party should assume responsibility for "losing contact with its principles" and that a "long period of hard introspection" was necessary …

a few days after the elections, the media outlets … still under the spell of Bill Clinton and stung by being wrong in 2000 … began publishing stories with "academic studies" that emphasized geographical and demographic differences in the Voting results … Television experts, Hollywood celebrities and other permanent residents of the self-congratulations media bubble jumped on these stories and the whole issue of the "red state / blue state" was born .. .

What did the Democrats determine after their "long period of introspection" ….. too many stupid people from backward states voted …..

considering that Jimmy C was the one who coined "it's the economy, stupid" … and to what extent in the priority list does the economy as a whole mean for the current faction that runs the DNC … I doubt this generation is going to have a "response" much better than the previous one …

## How to create a Siri shortcut that asks you to select a list of Reminders that can be reused as a variable

I want to edit a Siri shortcut that I found that adds numerous elements in a loop to the default list of iOS reminders. My idea is to ask the user to select a list of Reminders first and then use that list in the cycle that adds the items to that specific list.

I see that in the "Add to list" element, I can make "always ask" to select the list, and that works, but that requires that each element be added, which is too repetitive and laborious.

I can't understand how to create a list variable that contains the user's reminder lists, so I can ask them to make a selection from that list and then save that selection to a variable for use in the "Add to list" item.

I tried "Show reminder list" and selected "ask each time", but there is no way to save your selection in a variable to use later in "Add to list".

## While you can't turn it into a macro, this works if you save it as a skill.

&{template:simple} ?{Save|STR, {{rname=Strength}} {{mod=@{selected|strength_save_bonus}}} {{r1=((1d20+@{selected|strength_save_bonus}))}} {{r2=((1d20+@{selected|strength_save_bonus}))}}{{always=1}}|DEX, {{rname=Dexterity}} {{mod=@{selected|dexterity_save_bonus}}} {{r1=((1d20+@{selected|dexterity_save_bonus}))}} {{r2=((1d20+@{selected|dexterity_save_bonus}))}} {{always=1}}|CON, {{rname=Constitution}} {{mod=@{selected|constitution_save_bonus}}} {{r1=((1d20+@{selected|constitution_save_bonus}))}} {{r2=((1d20+@{selected|constitution_save_bonus}))}}{{always=1}}|INT, {{rname=Intelligence}} {{mod=@{selected|intelligence_save_bonus}}} {{r1=((1d20+@{selected|intelligence_save_bonus}))}} {{r2=((1d20+@{selected|intelligence_save_bonus}))}} {{always=1}}|WIS, {{rname=Wisdom}} {{mod=@{selected|wisdom_save_bonus}}} {{r1=((1d20+@{selected|wisdom_save_bonus}))}} {{r2=((1d20+@{selected|wisdom_save_bonus}))}} {{always=1}}|CHA, {{rname=Charisma}} {{mod=@{selected|charisma_save_bonus}}} {{r1=((1d20+@{selected|charisma_save_bonus}))}} {{r2=((1d20+@{selected|charisma_save_bonus}))}}{{always=1}}} {{charname=@{selected|token_name}}} 

It will ask the user for the type of save, then launch a save of the type selected for the currently selected token and then send it in the same format as if it had been rolled directly from the character sheet.

It has to be saved as a skill (on a character sheet, in the "Attributes and abilities" tab) instead of a global macro because if you save it as a global macro every instance of } (HTML replacement for } ) becomes again breaking everything.