import os,time,random
from threading import Thread
global load
load = 0
def main():
load += 1
def Loadingscreen():
while load < 30:
print("please wait")
print("finish")
input()
for i in range(1):
t = Thread(target=main)
t.start()
time.sleep(1)
for ii in range(1):
tt = Thread(target=Loadingscreen)
tt.start()