Python Script starter

    
#Python 3.12 script by androx

#Welcome to the python script starter containing
#time.sleep
#conditional branching (if else statements)
#print
#input

import time

#This Python script is running python 3.12
#remember to "import time" at the start for time.sleep
print("Hello World!")
#Print prints a message in the output, this can be used for debugging or other purposes
time.sleep(1)
#Time.sleep is basically a wait command the brackets are used for seconds not ms

one = input("hello")
#one shows which input this is, and input is just you able to input some text. quite like print.

answer1 = input("1 for one, 2 for two, else for three")
if answer1 == "1":
    print("one")
    time.sleep(5)
elif answer1 == "2":
    print("two")
    time.sleep(5)
else:
    print("three")
    time.sleep(5)
    
#at the start i used the "answer1" to show which conditional branching it is
#followed by an "input" box
#an if statement AND remember to always put a "==" instead of a "=" then put a "": with whatever you want inside the inverted commas
#type any code you like, i reccommend you put a time.sleep() before the script stops so that you can read the end
#elif is a "if" but is another if (python 2 used to have it as else if, but it changed to elif) remember to add the time.sleep()
#else is for answers that arent there it works like an if and elif and REMEMBER to add a time.sleep()

print("thanks for using my script! https://www.androx.org")
time.sleep(5)

#there you finally made a basic python code, get creative!
#https://www.androx.org