Question: please show me step by step python 1) Ask the user for 3 text values ( 1 mark) 2) Determine which text is the longest
1) Ask the user for 3 text values ( 1 mark) 2) Determine which text is the longest ( 4 marks) a) Output both the length and the value of the longest text (1 mark) i) Hint: There are 7 possibilities COURSE NAME: Intro to Programming COURSE CODE: COMP1250 Task 3 ( 6 marks) 1) Ask the user for input. (1 mark) 2) Determine if the user input is a number a) If so, ( 1 mark) i) Typecast the input to a numerical data type. (1 mark) ii) Output the number (1 mark) b) If not, (1 mark) i) Output the number of characters of the user input ( 1 mark)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
