Answer:
down below
Explanation:
score = input() # gets student's score input
max = input() # gets max number
percent = (score/max)*100 # multiply by a hundred to get percentage
if percent > 52: # checks if percent is greater than 52
print("well dont you have at least a grade 5")
else # if percent is less than or equal to 52 it will print this instead
print("Unlucky, you need to revise more for the next test.")
THIS PART IS NOT CODE:
make sure you indent/tab the print statements or else you'll get an error
Answer:
Explanation:
#Using python to create the list
#first we create an empty list to store our numbers.
import math
data = []
x = 0
InputSum = 0
NumInput=int(input("how many number do you want to add"))
while x <=(NumInput):
Input=int(input("Enter the numbers here"))
data.append(Input)
x = x+1
InputSum = InputSum + Input #this is to add the numbers entered
print("The number you entered are ")
print(*data) #this print the numbers entered
print("The sum of the numbers is", InputSum)
The answer is d torque because
First B
Second A
Seems like the best answers
Answer:
name = input("Enter name: ")
droids = int(input("How many droids you want to meet? "))
wookies = int(input("How many Wookies you want to meet? "))
print(name + " wants to meet " + str(droids) + " droids, and " + str(wookies) + " Wookies")
Explanation:
*The code is in Python.
Ask the user to enter the name, number of the droids and number of the Wookies
Print the name, number of the droids, and number of the Wookies
Note that while getting the input for the droids and wookies, you need to typecast the input the int (Since the values are int). Also, to print these variables, you need to typecast them as string in that format.