Alien Talk
IndyCarter (61)

This is a repl that I made that is very cool 😎

UPDATED

You are viewing a single comment. View All
sugarfi (266)

cool! You should learn to use f-strings though. For example, you would use f'hello, {name}' rather than 'hello, ' + name

roylatgnail (773)

@sugarfi f-strings or format? Ive always used format, so which is better?

sugarfi (266)

@TaylorLiang f-strings. They are like template strings in js, and they are shorter: f'Hello, {name}!' vs f'Hello, {}'.format(name).

IndyCarter (61)

I will create a new repl with them and if it turns out good i will post it @sugarfi

IndyCarter (61)

but it might come out in a few days :( @sugarfi

nt998302 (104)

@sugarfi Not sure if f string work outside of Idle 3

sugarfi (266)

@nt998302 they do. f-strings are built into python, not idle.

nt998302 (104)

@sugarfi my bad! I think I tried to do f strings in an incorrect way...