0

I am a freshman in highschool and have just started learning Python. This week I have an assignment on while...for...and lists. I have tried this problem and this is what I got so far, I'm not sure if it is correct at all:

start=float(raw_input("Enter the starting value:"))

end=float(raw_input("Enter the ending value:"))

if start or end>0:

List=start and end

List2=List.split(" ")

for x in List2:

x=int(x)

This is the problem I need help with, thanks a lot:

Enter the starting value: 3

Enter the ending value: 8

Number Square Square root

3 9 1.73205

4 16 2

5 25 2.23607

6 36 2.44949

7 49 2.64575

8 64 2.82843