Nov-14-2017, 11:40 PM
Hello, everyone. I'm fairly new to coding and in a bit of a jam. I'm trying to type out this example i saw online on IDLE and it reads something like this.
1 response = input("What is your radius? ") 2 r = float(response) 3 area = 3.14159 * r ** 2 4 print("The area is ", area)But MY code stops at the 2nd line.
>>> response = input("What is your radius?") What is your radius?What am I doing wrong or how do i get my code to look something like the example? And how come I can't code offline? Any help is greatly appreciated.