• Best of luck to the class of 2025 for their HSC exams. You got this!
    Let us know your thoughts on the HSC exams here

Class of 2025 (2025 HSC CHAT) (11 Viewers)

tigerian

Mr Sir
Joined
Jan 23, 2006
Messages
863
Location
Ryde
Gender
Male
HSC
N/A
Ive taught KR3/LFR . Happy to address any questions or concerns that anyone has . Send a pm so I will see i5 and respond
 

tropics...

Member
Joined
Jan 7, 2025
Messages
93
Gender
Female
HSC
2025
guys is it too late to start english tutoring for year 12 when you've already completed 3 out of 5 internal exams...
 

Kat.crazi

𝓇𝑒𝓁𝑒𝒶𝓈𝑒 𝓂𝑒
Joined
Aug 25, 2024
Messages
815
Gender
Female
HSC
2025
oops sorry b4 as in before but HOPEFULLY I GET HIGH BAND 5S AND 6S pls wish me luck ty ily
Good luck! If it’s any consolation I’m also in a similar boat, trying to get b6s but pretty stressed over sem 1
we can do it!!
 

Tony Stark

Well-Known Member
Joined
Jan 22, 2025
Messages
357
Location
Where th4run is
Gender
Male
HSC
2025
Python:
def linear():
    fx = input('Enter linear equation (y=mx+c): ').lower()
    #testing if there is a value for c, if not it is 0
    if fx[-1] == 'x':
        c = 0
    else:
        c = int(fx.partition('x')[-1])
    #testing if there is a value for m, if not it is 1
    if fx[0] == 'x':
        m = 1
    elif fx[0] != 'x':
        m = int(fx.partition('x')[0])
    else:
        m = int(input('Value for {y[0]}? '))
    print(f'm = {m}, c = {c}')
    obj = 'O'
    # if '-' not in fx:
    #     c = int(-c)
    x = 10
    # if m >= 3:
    #     obj = '|'
    # elif m < 3:
    #     obj = '/'
    print('^')
    while x > 1:
        for i in range(m-1):#logic to leave space for obj
            print('|') #move cursor downwards by m amount
            y = round((m * x) + c)
        print(f'|{' '*(x-2)}', end='')#-2 because there are two characters printed on the line
        print(obj)
        x = x - 1
    # print(obj)
    # for i in range(c):
    #     print('|')
    for i in range(c):
        print('|') 
    print(f'{'﹉'*7}>')
        
while True:
    linear()
Beta program I will name 'Delta+' because why not (e.g input 3x+5)
 
Last edited:

Socialism

§øç¡ålîšm - SHE/HER please 💜
Moderator
Joined
Jun 3, 2024
Messages
2,579
Location
🏳️‍⚧️Transnistria🏳️‍⚧️
Gender
Female
HSC
2026
Python:
def linear():
    fx = input('Enter linear equation (y=mx+c): ').lower()
    #testing if there is a value for c, if not it is 0
    if fx[-1] == 'x':
        c = 0
    else:
        c = int(fx.partition('x')[-1])
    #testing if there is a value for m, if not it is 1
    if fx[0] == 'x':
        m = 1
    elif fx[0] != 'x':
        m = int(fx.partition('x')[0])
    else:
        m = int(input('Value for {y[0]}? '))
    print(f'm = {m}, c = {c}')
    obj = 'O'
    # if '-' not in fx:
    #     c = int(-c)
    x = 10
    # if m >= 3:
    #     obj = '|'
    # elif m < 3:
    #     obj = '/'
    print('^')
    while x > 1:
        for i in range(m-1):#logic to leave space for obj
            print('|') #move cursor downwards by m amount
            y = round((m * x) + c)
        print(f'|{' '*(x-2)}', end='')#-2 because there are two characters printed on the line
        print(obj)
        x = x - 1
    # print(obj)
    # for i in range(c):
    #     print('|')
    for i in range(c):
        print('|')
    print(f'{'﹉'*7}>')
       
while True:
    linear()
Beta program I will name 'Delta+' because why not (e.g input 3x+5)
ts so hard to read in dark mode 😭
 

Users Who Are Viewing This Thread (Users: 2, Guests: 9)

Top