A Python Fishtank
Zexogon (151)

just a little animation i made after i got bored
watch the fish swim around
might add the option to feed them if i get around to it

You are viewing a single comment. View All
RadinGeekPython (1)

Cant you do

print('''blah blah
blah blah
blah blah''')

Instead of a print for every singe line?

Zexogon (151)

@RadinGeekPython if you mean press enter in the string no you cant

Warhawk947 (16)

@Zexogon no u use triple strings (''') and that will let you do multi-line printing. https://pythonprogramming.net/multi-line-printing-python-3/

Dingbat714 (1)

@RadinGeekPython if u use \n it will make a new line.
For example,
print(Hi\nMy name is asdf)
would output:
Hi
My name is asdf

Zexogon (151)

@Warhawk947 thanks this is really usefull!

Warhawk947 (16)

@Dingbat714 true... but ''' saves a tiny bit more time