A Python Fishtank
Zexogon (311)

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

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

Warhawk947 (179)

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

@Warhawk947 thanks this is really usefull!

Warhawk947 (179)

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