Question: Help please # 1 . Write a program that accepts the lengths of three sides of a triangle as inputs. # The program output should
# 1 . Write a program that accepts the lengths of three sides of a triangle as inputs. # The program output should indicate whether or no the triangle is an equilateral triangle. # Example: # Enter the first side: 4 # Enter the second side: 4 # Enter the third side: 4 # The triangle is equilateral in 2 - input( 'Enter a string: ') # 2 . Write a conditional that checks the string fo a period ('.') and #if it is present then print + found period and then checks for # a tilde ('-') and if present then print '+] found tilde'. Print -1 nothing found' if there is not a period of a tilde in the string # Example: # Enter a string: test # [-] nothing found # Enter a string: file.pdf # [+] period found # Enter a string. ~\test.txt # [+] tilde found # [+] period found
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
