num = float(input("Enter a number: "))
num1 = int(num)
print(num - num1)
I hope this helps!
I think Flexibility. Because when you are flexible you are able to manage things at anytime.
Answer:
The complete Matlab code along with step by step explanation is provided below.
Matlab Code:
function Req=ParallelR(Number)
Number=input('Please enter the number of resistors: ');
if Number>10 | Number<=0
disp('Invalid input')
return
end
R=0;
for i=1:Number
r=input('Please enter the value of resistor: ');
R=R+1/r;
end
Req=1/R;
end
Explanation:
Parallel resistance is given by

First we get the input from the user for how many parallel resistors he want to calculate the resistance.
Then we check whether the user has entered correct number of resistors or not that is from 1 to 10 inclusive.
Then we run a for loop to get the resistance values of individual resistors.
Then we calculated the parallel resistance and keep on adding the resistance for N number of resistors.
Output:
Test 1:
Please enter the number of resistors: 3
Please enter the value of resistor: 10
Please enter the value of resistor: 20
Please enter the value of resistor: 30
ans = 60/11
Test 2:
Please enter the number of resistors: 11
Invalid input
Test 3:
Please enter the number of resistors: 0
Invalid input
JOJO fan!?!!?!??!?!?!!?!?
Netiquette is a form of communication done correctly online. Good netiquette involves respecting others privacy, using correct grammar, and not doing anything online that will annoy or disrupt others. It is important to have netiquette while online, because communication online is non verbal and you can’t tell how someone is reacting. Having netiquette is important. It implies that you have polite behaviors, and want to build up relationships with people in your work space or at a party you plan on attending. Netiquette is one way to show respect to a person, and to show that you deserve respect. It improves how you organize your writing, and shows how productive you can be. By helping you to become polite online and respectful to other users of the internet, Netiquette is especially important for future letters, emails, or other writing forms.