Interactive Python Interpreter
Enter Python code and interact with it in real-time.
Python Code:
# Example: Interactive input n = int(input("Enter a number: ")) if n % 2 == 0: print("Even") else: print("Odd") # Example: Multiple inputs name = input("What is your name? ") age = int(input("How old are you? ")) print(f"Hello, {name}! You are {age} years old.")
Run Code
Terminal Output:
Send Input
Status: Not connected