Answer:
# -*- coding: utf-8 -*-
# Get N from the command line
import sys
N = int(sys.argv[1])
if N > 0: #N is positive
positve = list(range(N,0,-1))
print(positve)
elif N < 0: #N is negative
negative = list(range(N,0,1))
print(negative)
else:
print("Invalid in input")
Explanation:
First, you need to identify if the number entered is positive, negative or none of them, for that we use one if, one elif and one else statement:
- If the number entered (N) is greater than zero (is positive) we print a list in the range N to 0 in steps of minus one, the zero is not printed because the function range by default omits the last value
- If the previous statement was False and the number entered is smaller than zero (is negative) we print a list in the range N to 0 in steps of one, the zero is not printed because the function range by default omits the last value
- Finally, if the two previous events were false print invalid input
Answer:
maybe a couple million volts
Explanation:
because there are outlets you need to charge your phone maybe you car if you have a tesla and skyscrapers
The two most important polyamides are poly(hexamethylene adipamide) (Nylon 6,6) and polycaprolactam (Nylon 6). Both have excellent mechanical properties including high tensile strength, high flexibility, good resilience, low creep and high impact strength (toughness).
Answer: you can watch a video on how to solve this question on you tube
Answer:
14.27 mm
Explanation:
Force = 80 Newton
Pressure exerted = 5 bar = 5×10⁵ Pa
Pressure exerted = Force/Area
Area = Force/Pressure

Area of the cylinder=πd²/4

Hence diameter of cylinder 14.27 mm