![subject](/tpl/images/cats/informatica.png)
Computers and Technology, 11.10.2021 02:10 StupidFatChipmunk
Guys, so I made this triangle using python, and now I want to make another triangle but this time its upside down, so basically in the code down below, my code prints out
##*##
#***#
but I want it to print this way
#***#
##*##
How can I do it?? Python pros pls helpp
k = 7
def triangle(k):
a = (2*k) -1
k = 3
for x in range(0,a+1):
if x % 2 != 0:
f = int((a - x)/2)
print(f"{'#'*f}{'*'*x}{'#'*f}")
![ansver](/tpl/images/cats/User.png)
Answers: 1
Another question on Computers and Technology
![question](/tpl/images/cats/informatica.png)
Computers and Technology, 22.06.2019 10:20
Print "usernum1 is negative." if usernum1 is less than 0. end with newline. convert usernum2 to 0 if usernum2 is greater than 10. otherwise, print "usernum2 is less than or equal to 10.". end with newline
Answers: 3
![question](/tpl/images/cats/informatica.png)
Computers and Technology, 23.06.2019 07:30
What key should you press and hold to select and open multiple files at one time? enter alt control esc
Answers: 1
![question](/tpl/images/cats/informatica.png)
Computers and Technology, 23.06.2019 12:00
From excel to powerpoint, you can copy and paste a. cell ranges and charts, one at a time. b. cell ranges and charts, simultaneously. c. charts only. d. cell ranges only.
Answers: 3
![question](/tpl/images/cats/informatica.png)
You know the right answer?
Guys, so I made this triangle using python, and now I want to make another triangle but this time it...
Questions
![question](/tpl/images/cats/mat.png)
Mathematics, 22.05.2020 05:01
![question](/tpl/images/cats/User.png)
![question](/tpl/images/cats/himiya.png)
![question](/tpl/images/cats/istoriya.png)
![question](/tpl/images/cats/mat.png)
![question](/tpl/images/cats/mat.png)
![question](/tpl/images/cats/mat.png)
![question](/tpl/images/cats/ekonomika.png)
![question](/tpl/images/cats/mat.png)
![question](/tpl/images/cats/en.png)
![question](/tpl/images/cats/mat.png)
![question](/tpl/images/cats/mat.png)
Mathematics, 22.05.2020 05:01
![question](/tpl/images/cats/himiya.png)
![question](/tpl/images/cats/biologiya.png)
Biology, 22.05.2020 05:01
![question](/tpl/images/cats/mat.png)
![question](/tpl/images/cats/himiya.png)
![question](/tpl/images/cats/mat.png)
![question](/tpl/images/cats/biologiya.png)
![question](/tpl/images/cats/mat.png)
Mathematics, 22.05.2020 05:01