-1
#multiplication table with time delay
import time
num=int(input("Enter the value for which you want the multiplication table for:"))
print("The table will be as:\n")
for i in range(1,11):
{
print(num,"x",i,"=",num*i,"\n")
time.sleep(3)
}
print("The table is completed")
input("Press enter to exit")
In diesem Code, wenn Compiler kommt auf diese AussageWas der Fehler ist der Code: ungültige Syntax in Zeitmethode bekommen
time.sleep(3)
es zeigt ungültige Syntax Fehler. Was ist ein Fehler in diesem Code?