Sample Python Question

Sample Python Question

de chris maker -
Número de respuestas: 1

Hi, I am new to Coderunner.

I am trailing a simple python questions in Moodle, for example write a program that calculates the area of a square


l = int(input("length? "))
w = int(input("width? "))
area = l * w
print("the area is"+' '+str(area))

However, when I configure and preview the question and click the 'check' button, no feedback is given. Is there a couple of same questions in Moodle I can look at to see what I am doing wrong?

thanks