Answer:
scoop1 - 10
Explanation:
If we want scoop2 to be 10 pixels less than scoop1, we can simply subtract 10 from scoop1 to get the needed value from scoop2.
I SURE HOPE IT DOES (this is the best vibe if you dont get this you are an uncultured swine)
Answer:
numMugs=input(); #take input from the user and store it on a numMugs variable.
print ('Number of mugs:'+numMugs) #print the numMugs variable value with the Number of mugs: line.
Output:
- If the input is 8 then the program is print Number of mugs: 8.
- If the input is 'Harry' then the program is print Number of mugs: Harry.
Explanation:
- The above program is in python language with the two statements one in input and the other is output.
- The first line takes input and stores it into a variable named "numMugs".
- The second line print the value as Number of mugs: value_of_numMugs.
- The above program works for any type of input. It can work for the string data type or integer data type or character data type or any other data type.
Answer:
Explanation:
print('Enter 10 temperatures')
sum = 0
for i in range(10):
S = float(input())
sum = sum + S
print('The sum is: ',sum)
First, we print a comment asking the ten temperatures, then we declare the variable sum = 0.
We create a for cycle where the user must enter the temperatures, 10 in this case, then we must do the operation, summing the 10 numbers.
In the last step, we print the result with the variable sum.
the 3rd one, if you ever watched a dvd (i know you have) if you read the copyright note you can be fined and you may end up in jail (for five or two years depending on what you did)