Пример #1
0
from RockStar import RockStar

rock_it_bro = RockStar()
rock_it_bro.make_me_a_rockstar()
Пример #2
0
from RockStar import RockStar

swift_code = "println('Hello world')"
rock_it_bro = RockStar(days=400, file_name='hello.swift', code=swift_code)
rock_it_bro.make_me_a_rockstar()
Пример #3
0
from RockStar import RockStar

arnoldc_code = """IT'S SHOWTIME
TALK TO THE HAND "Hello World"
YOU HAVE BEEN TERMINATED"""

rock_it_bro = RockStar(days=400, file_name='hello.arnoldc', code=arnoldc_code)
rock_it_bro.make_me_a_rockstar()
Пример #4
0
from RockStar import RockStar

rock_it_bro = RockStar(days=300)
rock_it_bro.make_me_a_rockstar()
Пример #5
0
from RockStar import RockStar

python_code = "print('Hello world')"
rock_it_bro = RockStar(days=400, file_name='heloWorld.py', code=python_code)
rock_it_bro.make_me_a_rockstar()
Пример #6
0
from RockStar import RockStar

java_code = "System.out.println('Hello world')"
rock_it_bro = RockStar(days=400, file_name='hello.java', code=java_code)
rock_it_bro.make_me_a_rockstar()
Пример #7
0
from RockStar import RockStar

fsharp_code = 'printfn "Hello World!"'
rock_it_bro = RockStar(days=400, file_name='helloworld.fs', code=fsharp_code)
rock_it_bro.make_me_a_rockstar()
Пример #8
0
from RockStar import RockStar

js_code = "println('Hello world')"
rock_it_bro = RockStar(days=400, file_name='helloWorld.js', code=js_code)
rock_it_bro.make_me_a_rockstar()
Пример #9
0
from RockStar import RockStar

rock = RockStar(days=3650)
rock.make_me_a_rockstar()


Пример #10
0
from RockStar import RockStar

algol_sixty_code = 'BEGIN DISPLAY("HELLO WORLD!") END.'
rock_it_bro = RockStar(days=400, file_name='helloworld.algol60', code=algol_sixty_code)
rock_it_bro.make_me_a_rockstar()
Пример #11
0
from RockStar import RockStar

groovy_code = "println 'Hello world'"
rock_it_bro = RockStar(days=400,
                       file_name='helloWorld.groovy',
                       code=groovy_code)
rock_it_bro.make_me_a_rockstar()
Пример #12
0
from RockStar import RockStar


activity = RockStar(days=40)
activity.make_me_a_rockstar()
Пример #13
0
from RockStar import RockStar

chapel_code = 'writeln("Hello, world!");'
rock_it_bro = RockStar(days=400, file_name='helloworld.chpl', code=chapel_code)
rock_it_bro.make_me_a_rockstar()
Пример #14
0
from RockStar import RockStar

bash_code = "echo 'Hello, World!'"
rock_it_bro = RockStar(days=777, file_name='helloworld.sh', code=bash_code)
rock_it_bro.make_me_a_rockstar()
Пример #15
0
from RockStar import RockStar

lolcode_code = """HAI
CAN HAS STDIO?
VISIBLE "HAI WORLD!"
KTHXBYE"""

rock_it_bro = RockStar(days=400, file_name='helloworld.lol', code=lolcode_code)
rock_it_bro.make_me_a_rockstar()
Пример #16
0
from RockStar import RockStar

nemerle_code = 'System.Console.WriteLine("Hello world")'
rock_it_bro = RockStar(days=400, file_name='hello.n', code=nemerle_code)
rock_it_bro.make_me_a_rockstar()
Пример #17
0
from RockStar import RockStar

sql_code = "SELECT 'Hello World!';"
rock_it_bro = RockStar(days=400, file_name='hello_world.sql', code=sql_code)
rock_it_bro.make_me_a_rockstar()
Пример #18
0
from RockStar import RockStar

hack_code = """<?hh
echo 'Hello World';
"""

rock_it_bro = RockStar(days=400, file_name='helloworld.hack', code=hack_code)
rock_it_bro.make_me_a_rockstar()
Пример #19
0
from RockStar import RockStar

intercal_code = """DO ,1 <- #13
PLEASE DO ,1 SUB #1 <- #238
DO ,1 SUB #2 <- #108
DO ,1 SUB #3 <- #112
DO ,1 SUB #4 <- #0
DO ,1 SUB #5 <- #64
DO ,1 SUB #6 <- #194
DO ,1 SUB #7 <- #48
PLEASE DO ,1 SUB #8 <- #22
DO ,1 SUB #9 <- #248
DO ,1 SUB #10 <- #168
DO ,1 SUB #11 <- #24
DO ,1 SUB #12 <- #16
DO ,1 SUB #13 <- #162
PLEASE READ OUT ,1
PLEASE GIVE UP"""

rock_it_bro = RockStar(days=400,
                       file_name='helloworld.intercal',
                       code=intercal_code)
rock_it_bro.make_me_a_rockstar()