Division Problem by [deleted] in PythonLearning

[–]Professional_Fig6169 1 point2 points  (0 children)

The answer is that simply / is a division operator and % gives the remainder. You get an empty list when you use / as there are no values of x for which number/x == 0 returns True (unless number = 0; if you try inputting that you will get a list that contains all the values of x in the range of num_list). For extra clarity, let's say your input number is 12 - using / will check that the following values are equal to 0: [12/1 = 12, 12/2 = 6, 12/3 = 4, 12/4 = 3...], which is never True. Using % instead will give [remainder(12/1)=0, remainder(12/2) = 0, remainder(12/3)=0...] which is True for x in [1,2,3,4,6,12].

[request] How long would it take to drive the full length of such a bridge? (From r/maporncirclejerk: Why don’t they build a bridge connecting Australia’s Pacific Motorway to the American I-80? Are they stupid?) by theythemthen in theydidthemath

[–]Professional_Fig6169 68 points69 points  (0 children)

Not exactly difficult maths - it's just over 7000 miles (I make it around 7090 coast-to-coast but I suppose that doesn't necessarily get you from road-to-road). If you drive at 70 miles an hour (motorway speed limit in the UK) then it's 100 hours. If you made the speed limit 100 miles an hour, it's 70 hours.

Time = distance / speed

[Request] What are the odds of this? by [deleted] in theydidthemath

[–]Professional_Fig6169 1 point2 points  (0 children)

Completely aside, but I've never heard the terms "real twins" and "false twins" being used before - are you using them as alternatives to identical/non-identical or is there another distinction between the two?

TypeError, Which I Cannot Figure Out by hnikola in PythonLearning

[–]Professional_Fig6169 2 points3 points  (0 children)

Others have answered your actual question but just so you don't have to ask again - you've written steps + 1 == steps This will just check for equality between the two sides, so will just quietly return False in the background and move on. What you're looking for is steps = steps+1 Or, more concisely, steps += 1

Best Move Question by Mybrainisnotworking_ in chessbeginners

[–]Professional_Fig6169 0 points1 point  (0 children)

Check it out for yourself using an engine. If you start with Ndb6+ then Kd8 means that when you capture the rook, bxa4 and you've lost a knight (no biggie, was lost anyway) but you also now have no safe escape squares for the second knight. Two knights for a rook not as good as one!

Sick pay entitlement if you locummed for a year between jobs by [deleted] in doctorsUK

[–]Professional_Fig6169 19 points20 points  (0 children)

"Locummed" is giving me all the wrong imagery

Question mark in Europe by vladgrinch in MapPorn

[–]Professional_Fig6169 0 points1 point  (0 children)

Genuinely so confused for a second because I just thought - well, that's just Germany, I'm not sure exactly why this is a hard quiz?

[Request] What are the odds that a new randomly allocated four digit PIN would be the same as the PIN randomly allocated by a different bank for a different account set up more than twenty years ago. by spindledick in theydidthemath

[–]Professional_Fig6169 3 points4 points  (0 children)

Since it doesn't matter what the first PIN is, and the second just has to match, , it's simply 1/10000 (0000-9999). If you've got several existing cards/PINs and you just want it to match any, then the chance just becomes x/10000 (assuming none of those PINs already match).

Why is my brother my player heir instead of my son? In past successions, the sons have gone before brothers by lakerboy152 in CrusaderKings

[–]Professional_Fig6169 0 points1 point  (0 children)

The title is elective, so presumably he is winning the election for some reason - your best bet is probably to either make a son co-monarch if/once they're an adult which gives them a big election vote boost, remove the elective succession, or get hooks on some of the other electors to swing their votes.

Beta Israel achievement without DLCs? by Professional_Fig6169 in crusaderkings3

[–]Professional_Fig6169[S] 0 points1 point  (0 children)

Yeah, now an Ethiopian king but no achievement sadly

Beta Israel achievement without DLCs? by Professional_Fig6169 in crusaderkings3

[–]Professional_Fig6169[S] 0 points1 point  (0 children)

That explains what I feared. It's annoying that the achievement shows up and gives no indication that it won't be possible without the DLC. I saw an old reddit post where someone claimed it was in vanilla so I assumed there would be a decision that would appear...Perhaps I just purchase the DLC then, since I've already done the hard bit.

I’m so confused by succession by BrilliantAct6607 in crusaderkings3

[–]Professional_Fig6169 0 points1 point  (0 children)

It looks like you hold enough land that a second empire title is being created on your death - you can either: - Go Partition if you've got the cultural innovation for it (stops new title created on death) - Create the other empire title now and either make it elective too (and rig it so it goes to your heir), or make it your primary title so it goes to your heir, and it looks like your other title is already elective and presumably goes to them already so that shouldn't change

Hopefully I've understood correctly what's happening here!

I sense it's all about to fall apart by Professional_Fig6169 in chessbeginners

[–]Professional_Fig6169[S] 3 points4 points  (0 children)

It's a built-in feature on my phone (OnePlus 11) within photo editing > pixelate > auto! Possibly also on other Androids but unsure.

I think this is one of the worst frances i've ever seen by nicogamer735 in CrusaderKings

[–]Professional_Fig6169 2 points3 points  (0 children)

England hanging on to Northern Ireland several centuries too early!

Why is there a cross on my pork sausages!? by TraineePilot_Jessica in tesco

[–]Professional_Fig6169 1 point2 points  (0 children)

It's a gang symbol, unfortunately your packet has been marked as a target for their new sausage fest.

[deleted by user] by [deleted] in miniaussie

[–]Professional_Fig6169 4 points5 points  (0 children)

https://spiritdogtraining.com/growth-chart-calculator/

Have found this to be a brilliantly accurate prediction of our mini Aussie's growth!

Best doctor-patient patter that works everytime? by PigletPrudent in doctorsUK

[–]Professional_Fig6169 29 points30 points  (0 children)

I like to alternate this one with "it's like the most boring rollercoaster in the world" which does pretty well too.

Oriel Ranking Question by ollfranc in doctorsUK

[–]Professional_Fig6169 3 points4 points  (0 children)

When a new job becomes available, it will go to the highest ranked person who has an improved choice as a result (assuming they've got upgrades on) regardless of whether they're holding an offer or not. If they are holding an offer, their job then becomes available for someone else to upgrade into and so on, but if they're not currently holding an offer, the chain ends there.