No variable scope issue here: (infinite loop, but no error, change \'while\' to \'if\' to prevent loop)
#!/usr/bin/python3 distance = 50 def