Answer:
Code below
Explanation:
n = int(input('Please enter n: '))#take input n
print('please enter the numbers')#print enter the numbers
total = 0 #intially take total as 0
original_total = 1 #intially take original_total=1
for i in range(2, n+1): #take the range 2 to n+1
total += int(input('Please enter a number: ')) # add total and enter the number
original_total += i
missing = original_total - total #you got missing number original_total - total
print('The missing number is: ' + str(missing)) # print missing number in the given data
Answer:
To create actions panes
On the Project menu, choose Add New Item.
In the Add New Item dialog box, select ActionsPaneControl, and then choose Add.
The ActionsPaneControl1.cs or ActionsPaneControl1.vb file opens in the designer.
From the Common Controls tab of the Toolbox, add a label to the designer surface.
In the Properties window, set the Text property of label1 to Actions Pane 1.
Repeat steps 1 through 5 to create a second actions pane and label. Set the Text property of the second label to Actions Pane 2.
Explanation:
hope it helps
Not a Question so how am i supposed to help with this problem
Well, it is safe to turn a computer on without a RAM, but you can't really do it. RAM is one of the essential components in computers without which you can't really use a computer. You can turn it on, however, nothing will appear on your screen and the system won't boot. So, technically, it is safe, but it won't do anything to your computer as it cannot run without RAM.
Answer:
ValueError
Explanation:
Required
Determine the error the program returned
The above will return a ValueError error and the reason is as follows.
The first line of the program initializes variable as 'live'.
The next line tries to convert answer to integer and this is where it returns the error'.
On the second line, variable amount expects that the answer variable to contain number e.g. '567' but because it doesn't contain a complete number (i.e. unexpected values), the program returns a ValueError.