This is the ZScript IDE made with Python! Thanks for @darkshadowshad for helping me!
- Line
line('Hello World!')
The line function will print your string or number
- Make
make e = "E MEME"
line(e)
So make will make a variable
- If, else, elif statment
make e = "ZDev28"
if e == "ZDev28":
line('this word is good')
else:
line('I don\'t like this word')
- Define
define function():
make e = "hey"
line(e)
function()
It will make a function
- Classes
class MyClass:
define __init__(self):
self.name = input('What is your name?\n> )
define greet(self):
line(self.name)
make myclass = MyClass()
myclass.greet();
- While
while True:
line('E')
An endless loop
- Download
downlaod time
time.sleep(3.0)
It will download a library
- For
download random
make randomthing = random.choice(['hey', 'hello', 'hola'])
for i in range(3):
line(randomthing)
A loop
- $
$ A comment
A comment
- Take_input
make name = take_input('What is your name\n> ')
line(f'Hi, {name}!')
An input