A Python Fishtank
Zexogon (834)

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 (7)

Cant you do

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

Instead of a print for every singe line?

Zexogon (834)

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

Warhawk947 (449)

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

Dingbat714 (2)

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

Zexogon (834)

@Warhawk947 thanks this is really usefull!

Warhawk947 (449)

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