← Learn
write Β· run Β· learn
main.py Ctrl + Enter to run
Console Output
Ready. Press Run to execute your code.

Quick Reference

print("hello") display output
x = input("?") ask user for value
float(x) convert to decimal
int(x) convert to whole number
if x > 0: conditional check
x ** 2 x to the power of 2