I left the code as raw text because it would not format correctly in code brackets.
I am wondering if there is a way to get this to print out the letters in the diamond pattern I set up?
---------------------------------------------------
current output:
I am wondering if there is a way to get this to print out the letters in the diamond pattern I set up?
---------------------------------------------------
import time
def red1():
for i in range(7):
time.sleep(1)
formation = '''{}
{} {}
{}'''.format('R','G','G','R')
print "%s\r" % formation,---------------------------------------------------------current output:
Output:R
G G
R RDesired output:Output: R
G G
R
