Answer:
# Python Program to Print
# all subsets of given size of a set
import itertools
def findsubsets(s, n):
return list(itertools.combinations(s, n))
# Driver Code
s = {1, 2, 3}
n = 2
print(findsubsets(s, n))
-----------------------------------------------
# Python Program to Print
# all subsets of given size of a set
import itertools
# def findsubsets(s, n):
def findsubsets(s, n):
return [set(i) for i in itertools.combinations(s, n)]
# Driver Code
s = {1, 2, 3, 4}
n = 3
print(findsubsets(s, n))
-------------------------------------------------------------
# Python Program to Print
# all subsets of given size of a set
import itertools
from itertools import combinations, chain
def findsubsets(s, n):
return list(map(set, itertools.combinations(s, n)))
# Driver Code
s = {1, 2, 3}
n = 2
print(findsubsets(s, n))
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
OLAP (online analytical processing) software is the software to perform various high-speed analytics of large amounts of data from a data center, data mart, or other integrated, centralized data store.
<h3>What is the use of Online Analytical Processing (OLAP)?</h3>
OLAP provides pre-calculated data for various data mining tools, business modeling tools, performance analysis tools, and reporting tools.
OLAP can help with Planning and Budgeting andFinancial Modeling. Online Analytical Processing (OLAP) is included in many Business Intelligence (BI) software applications. It is used for a range of analytical calculations and other activities.
Therefore, OLAP (online analytical processing) software is the software to perform various high-speed analytics of large amounts of data from a data center, data mart, or other integrated, centralized data store.
Learn more about Online Analytical Processing (OLAP):
brainly.com/question/13286981
#SPJ1
Answer:
#include <iostream>//including iostream library to use functions such as cout and cin
using namespace std;
int main() {
int userInput = 0;
do
{
cout << "Enter a number < 100: " ;
cin >> userInput;
if (userInput < 100)//condition if number is less than 100
{
cout << "Your number < 100 is: " << userInput << endl;
}
} while (userInput > 100);//do while loop condition
return 0;
}
Explanation:
A do-while loop executes regardless in the first iteration. Once it has run through the first iteration, it checks if the condition is being met. If, the condition is TRUE, the loop begins the second iteration. If FALSE, the loop exits. In this case, the condition is the userInput. after the first iteration, lets say the userInput is 120, the condition userInput > 100 is true.Therefore, the loop will run again until eventually the number is less than hundred, lets say 25. In that case the condition would be 25 > 100, which would be false, so the loops will break.