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.
But MY code stops at the 2nd line.
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.
1 2 3 4 |
1 response = input ( "What is your radius? " ) 2 r = float (response) 3 area = 3.14159 * r * * 2 4 print ( "The area is " , area) |
1 2 |
>>> response = input ( "What is your radius?" ) What is your radius? |