Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

please show me step by step python 1) Ask the user for 3 text values ( 1 mark) 2) Determine which text is the longest

please show me step by step python image text in transcribed
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

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database Systems Design Implementation And Management

Authors: Carlos Coronel, Steven Morris

14th Edition

978-0357673034

Students also viewed these Databases questions