|
Contents | Previous | Next | Subchapters |
| Syntax |
input(prompt)
|
| See Also | input , and input(prompt, "password") |
degrees = input("Enter angle in degrees: ")
radians = atod(degrees) * PI / 180
print degrees , "degrees =", radians, "radians"
O-Matrix will display the following dialog box:
180 degrees = 3.14159 radians