Solution 1

# empty

Python Overview Playground

Use this playground to practice your Python skills. When you're ready, just hit the "Submit Solution" button to mark it as done.

Test Cases

test dummy - Run Test

def test_dummy():
    assert 1 == 1
# This is a comment. a_variable = 3 # type: int my_name = '' # type: str # String Formatting. We'll see this in more detail in future videos full_message = 'My name is: {}'.format(my_name) age = 18 if age >= 18: print("You can drive!") else: print("You'll have to take the bus") if age > 30: pass # This should stay at the top from random import randint print(randint(0, 100))