def heart_pyramid(n):guess the outputk = 2*n-2for i in range(n):for j in range(k):print(end=' ')k=k-1for j in range(i+1):print('sooks', end='sooks')print()print('Pyramid for Galaxy-Coding pyramid challenge')heart_pyramid(2)
from turtle import *Guess the outputcolor("red","yellow")begin_fill()while True:forward(200)left(170)if abs(pos()) 1:breakend_fill()done()
public class Test {
Test() { } // line 1
static void Test() { this(); } // line 2
public static void main(String[] args) { // line 3
Test(); // line 4
}
}Guess the outputdef Reverse(tuples):Guess the outputnew_tup = tuples[::-1]return new_tuptuples = ('C','R','I','S','T','I',AN','O')print(Reverse(tuples))