while tru python code example Example 1: python while true loop while True: print("Hi") Example 2: how do you use a while true in python while True main():