Go to a different state as a migrant and then your a alien
Answer:
def leap_year_check(year):
return if int(year) % 4 == 0 and (int(year) % 100 != 0 or int(year) % 400 == 0)
Explanation:
The function is named leap_year_check and takes in an argument which is the year which we wish to determine if it's a new year or not.
int ensures the argument is read as an integer and not a float.
The % obtains the value of the remainder after a division exercise. A remainder of 0 means number is divisible by the quotient and a remainder other wise means it is not divisible by the quotient.
If the conditions is met, that is, (the first condition is true and either the second or Third condition is true)
the function leap_year_check returns a boolean ; true and false if otherwise.
Shutter speed<span> is </span>generally measured<span> by the scientific symbol “s”. The </span>measurement means<span> that the </span>measurements<span> in "s" is the reciprocal of the number when the denominator is put on the numerator side instead. ... Aperture is </span>measured<span> by f's.</span>
Answer:
a. PCI express
Explanation:
<em>PCI express</em> (Peripheral Component Interconnect Express) is a high speed serial bus and commonly used motherboard interface for Graphics card, wifi, SSDs and HDs hardware connections. Simple PCI can also be used but PCI express has more error detection accuracy lesser number of I/O pins and better throughput as compared to simple PCI.
Answer:
// program in C++.
// headres
#include <bits/stdc++.h>
using namespace std;
// main function
int main()
{
// array
int temperatures[7];
// count variable
int count=0;
cout<<"Enter the temperature of all days:";
for(int a=0;a<7;a++)
{
// read temperature of 7 days
cin>>temperatures[a];
// find temperature is extreme or not
if(temperatures[a]<-10||temperatures[a]>25)
// count
count++;
}
// print count of extreme temperature
cout<<"number of days of extreme temperature:"<<count<<endl;
return 0;
}
Explanation:
Create an array of size 7 to store the temperature of all days of week.Read the temperature of each day.If the temperature is less than -10 or greater than 25 then increment the count.This will count the number of days of extreme temperature.Print the count.
Output:
Enter the temperature of all days:-20 12 18 30 32 -15 15
number of days of extreme temperature:4