It is not an emoji, you have to copy and paste it from somewhere.
Sounds truly nuts (and fun)
@QwertyQwerty88 When i looked at your code i logged out of replit and literally force-turned-off my PC. then i remembered i didn’t save my java vs code project, so now i’m
how about this really irritating inline script i made for no good reason…
print(f"hello {input(\"what's your name? \")}")
Edit this is a nightmare:
print("hello world");
The won’t work because of the quotes.
thats the idea
solution:
print(f"hello {input('whats your name? ')}");
You have inspired me. In my free time I will try to make an even worse program than this. It will be agonizing.
Ok so I spent some time making this. It uses the sus character ඞ
, and many bad practices and annoying things so there you go. It’s a “Hello World!” program.
range = ["l", print, 1, "W", 3, "e!", staticmethod]
ඞඞඞ = range[(8 % --7)]
ඞඞඞඞ = [((range)[ 20 % 7])][0]
ඞඞඞඞඞ = [ ඞඞඞ, (((ඞඞඞඞ ).__class__))][1]
ඞඞ = (([list.index]))[0]
def ඞ( ඞa, ඞb): ඞa.__getattribute__("pop")(ඞb)
ඞ(range, ඞඞ(range, ඞඞඞඞ))
ඞ(range, (range, (0x23 ** 0x00))[(0x23 ** 0x00)])
range.extend( (["ord", "H " ]))
if ඞඞඞඞඞඞ := "":
print("dsada")
ඞඞn = ""
class console:
@ඞඞඞඞ
def log(*sys):
ඞඞඞ(*sys)
class ඞError(Exception): pass
ඞCඞඞ = --(-(0x00 ** 0x00))
for print in (range):
ඞCඞඞ += 0x01
ඞඞc = ""
class input:
ඞ3=not(not(not(True)))
while not(ඞ3):
ඞ3=True
try:
def go(this):
if (isinstance(print, (int))):
return
return [console.log.__class__]
return print
except console.ඞError:
print("ඞ")
[[({ඞඞc:=input().go()})]]
if ඞCඞඞ==0:
ඞඞඞඞඞඞ+=ඞඞc * 0x02
else:
if ඞCඞඞ==2:
ඞඞn+=ඞඞc
if ඞCඞඞ==4:
ඞඞඞඞඞඞ = ඞඞc + ඞඞඞඞඞඞ
if ඞCඞඞ==5:
ඞඞn+=ඞඞc[:-1] + ඞඞඞඞඞඞ[1] + ඞඞc[-1] + ඞඞඞඞඞඞ[1]
ඞඞඞඞඞඞ = ඞඞඞඞඞඞ[:1] + ඞඞඞඞඞඞ[2:] + ඞඞc[0]
if ඞCඞඞ==6:
ඞඞඞඞඞඞ = ඞඞc[0] + ඞඞඞඞඞඞ + ඞඞc[1] + ඞඞn
console.log(ඞඞඞඞඞඞ)
What is meant by Albert screaming?!
Which Language it use?
The language it uses is python
ahhhhhhhhmy eyesssss
oh my gosh, it’s so beautfiul
WHERE’S THE CRYING REACTION :sobs: MY EYESSSSSSSSSSS
do you like how i put a class definition in the for loop and then defined the classmethod within a while loop
do you like how i put a class definition in the for loop and then defined the classmethod within a while loop
@SharkCoding Yes, it’s perfect
I had not heard of the walrus operator but that could be very useful. I may be able to use it to make programs even fewer bytes. It saves lines for sure.
# Normal Python
myVar = "Hello world!"
print(myVar)
myVar += " I code in Python."
print(myVar)
# Walrus
print((myVar := "Hello world!"))
myVar += " I code in Python"
print(myVar)
@SharkCoding Yes, actually, it’s very much an underused operator that not a lot of people know about. It was added after the 3.8 update.
It called “walrus” because the colon (:
) are the eyes and the equal sign (=
) is the tusks.
Here is how you can use it in a program:
a = [1, 2, 3, 4]
if (n := len(a)) > 3:
print(f"List is too long ({n} elements, expected <= 3)")
(Taken from here.)
Oh you found a much better use for it than me. I will use this in like every program now.