Make your own name for your anime and your own powers it’s really not that hard bud
Answer:
nums = []
while True:
in = input()
if in:
nums.append(in)
else:
break
if nums:
avg = sum(nums) / len(nums)
for i in range(len(nums)):
if nums[i] == avg:
print(f"index: {i+1}")
print(nums[i])
else:
print(-1) # if there aren't any values in nums
Explanation:
Assuming that you are coding in Python 3x. The last 'else' statement is an edge case that you might want to consider, I don't know what you want to put there, but I'm just going to leave it as -1.
Answer:
Part A
Adobe Dreamweaver is a computer application used for building websites and other types of web development, as well as mobile content development for both the intranet and the internet, on the Apple OS X and Windows Operating System Platforms
Part B
Adobe Dreamweaver is used for designing, building, and coding websites and mobile contents by developers and designers and by mobile content developers
Part C
i) Adobe Dreamweaver allows rapid flexible development of websites
The simplified engine on which Adobe Dreamweaver is based makes it easy to adapt web standards including CSS, and HTML for personalized web projects, thereby aiding learning of the web standards and fast (timely) web development
ii) The time between starting development and deployment is shorter when using Adobe Dreamweaver due to the availability of customizable templates that serve wide range of user web interfaces, including e-commerce pages, newsletters, emails and blogs
iii) Building of websites that adapts to the screen size of the device from where the site is accessed is possible with Adobe Dreamweaver
Explanation:
Answer:
Because of the nature of the source systems ETL functions are challenging.Reasons are as following:-
1. There are various source systems are very and contrasting.
2. There is usually a requirement to deal with source systems on different platforms or Operating Systems.
3. Quality of data is uncertain in many old source systems that have developed gradually over time.
Answer:
The Java program is explained below
Explanation:
public class ArrayMode {
public static int mode(int arr[]) {
int maxValue = 0, maxCount = 0;
for (int i = 0; i < arr.length; ++i) {
int count = 0;
for (int j = 0; j < arr.length; ++j) {
if (arr[j] == arr[i])
++count;
}
if (count > maxCount) {
maxCount = count;
maxValue = arr[i];
}
}
return maxValue;
}
public static void main(String args[]) {
int arr[] = { 9, 5, 3, 8, 5, 12, 19, 5, 11 };
System.out.println("The set of numbers are: ");
for (int i = 0; i < arr.length; i++)
System.out.print(arr[i] + " ");
System.out.println("\nThe mode of the set is: " + mode(arr));
}
}