Python Forum
Print user input into triangle
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Print user input into triangle
#1
https://imgur.com/a/J04CGxV

https://imgur.com/a/9xmnoTR

What code is wrong that isn't allowing the triangle to be formed. It adds an extra H when forming the first triangle and then the second it doesn't use the whole string. It doesn't have the full hello sir when starting the 2nd triangle either.
Reply


Messages In This Thread
Print user input into triangle - by djtjhokie - Nov-07-2020, 07:00 PM
RE: Print user input into triangle - by buran - Nov-07-2020, 07:01 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
Question Simulate an answer based on user input [Beginner needs guidance] Bombardini 1 1,291 Nov-12-2022, 03:47 AM
Last Post: deanhystad
  How to write a recursion syntax for Sierpinski triangle using numpy? Bolzano 2 3,881 Apr-03-2021, 06:11 AM
Last Post: SheeppOSU
Bug How to print only vowels from an input? PP9044 8 7,572 Feb-26-2021, 04:02 PM
Last Post: Serafim
  Tkinter - The Reuleaux Triangle andrewapk 1 1,963 Oct-06-2020, 09:01 PM
Last Post: deanhystad
  Python - networkx - Triangle inequality - Graph Nick_A 0 2,106 Sep-11-2020, 04:29 PM
Last Post: Nick_A
  Changing Directory based on user input paulmerton4pope 13 8,064 Aug-14-2020, 11:48 AM
Last Post: GOTO10
  how to add the user input from file into list wilson20 8 4,340 May-03-2020, 10:52 PM
Last Post: Larz60+
  How to print the docstring(documentation string) of the input function ? Kishore_Bill 1 3,558 Feb-27-2020, 09:22 AM
Last Post: buran
  Writing a function that changes its answer based on user input SirRavenclaw 2 2,818 Dec-21-2019, 09:46 PM
Last Post: Clunk_Head
  Triangle function program m8jorp8yne 2 8,892 Dec-13-2019, 05:24 PM
Last Post: Clunk_Head

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020