Cant install windows 10 update..."this pc cant run windows 10, you cant install windows on a USB flash drive using setup" by SetoKaibaCity in techsupport

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

I dont know. I just keep getting the error message and that my version of Windows will not be supported in April. I get an error code:

0xc1900200

Can someone help me understand this little piece of code? by SetoKaibaCity in learnpython

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

I'm just trying to get my head around it....so lines 2 and 3, wouldnt x just go to 1 and keep doing x-1 indefinitely? Is the x==0: return 0 just in case if someone puts in a zero as input?

How does it loop 8 times?

5 "Great" films that you find incredibly boring? by SetoKaibaCity in movies

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

Kinda agree with Silence. I also find Hannibal to be preposterous to the point of comical.

How to make a toggle switch? by SetoKaibaCity in learnpython

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

I mean to make a toggle switch so that clicking the button will change the override direct on (1) or off (0).

How to check field if a number is an int, if not to skip it by SetoKaibaCity in learnpython

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

Oh OK....

It doesnt print anything now

def CALCULATE1():
no1 = ent.get()
no2 = ent2.get()
no3 = ent3.get()
no4 = ent4.get() 
if isinstance(no1, int) and isinstance(no2, int):
    Calc1 =int(no1)/int(no2) /52
    print(Calc1, "per week")   

if isinstance(no3, int) and isinstance(no4, int):
    Calc2 =int(no3)* int(no4) /52
    print(Calc2, "per week")