したがって、time.sleepは機能しません。私はPython 3.4.3で、私は3.6で私のコンピュータ上でこの問題を抱えていません。Time.sleep()エラー
これは私のコードです:
import calendar
import time
def ProfileCreation():
Name = input("Name: ")
print("LOADING...")
time.sleep(1)
Age = input("Age: ")
print("LOADING...")
time.sleep(1)
ProfileAns = input("This matches no profiles. Create profile? ")
if ProfileAns.lower == 'yes':
print("Creating profile...")
elif ProfileAns.lower == 'no':
print("Creating profile anyway...")
else:
print("yes or no answer.")
ProfileCreation()
ProfileCreation()
あなたは時間をインポートする必要があります – mast3rd3mon