Shuffled

Report a typo

Rearrange the lines to create a valid Python program with three functions and make indentations where expected to make a program look nice. Press the right arrow button to make one full indentation and the left arrow button to remove one.

Please order the functions by the number in their names (first function1 and its body, then function2, etc.)

Reorder lines using drag or arrows. Adjust indentation with left buttons
                def function1() -> str:
              
                return False
              
                return "This function returns a string!"
              
                def function2(x: int) -> int:
              
                def function3() -> bool:
              
                return x + random.randint(1, 10)
              
___

Create a free account to access the full topic