Explanation:
what's the question? I need the problem
Answer: Web server is not working properly or has some problem.
Explanation: Web server is used by the users for transferring ,storing, processing the web pages towards the clients .As other users are facing the problem in accessing server service , the probability is having any web server issue.
The emails and files can be transferred from one server to another, so the network is working fine. Thus, there are chances of web server being down or some other issue related with server accessing.
Answer:
#include <iostream>
#include <vector>
using namespace std;
void swapFrontBack(vector<int>& nums) {
if(nums.size() < 2) {
return;
}
swap(nums[0], nums[nums.size()-1]);
}
void printit(vector<int>& arr) {
for(int i = 0; i < arr.size(); i++) {
cout << arr[i] << " ";
}
cout << endl;
}
int main() {
vector<int> num1;
swapFrontBack(num1);
printit(num1);
num1.push_back(1);
swapFrontBack(num1);
printit(num1);
num1.push_back(2);
swapFrontBack(num1);
printit(num1);
vector<int> num2(10, 1);
num2[9] = 2;
swapFrontBack(num2);
printit(num2);
return 0;
}
Explanation:
Answer:
user_name = input("input user name: ")
print(len(user_name))
Explanation:
input - input function in python
len - length of value
print - print data