Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

does anyone know how i cant get ride of the space between I-90? LAB ACTIVITY 3.15.1: LAB: Interstate highway numbers 4710 main.py tood default te

image text in transcribed
does anyone know how i cant get ride of the space between "I-90"?
image text in transcribed
LAB ACTIVITY 3.15.1: LAB: Interstate highway numbers 4710 main.py tood default te 1 highway, number - Int(input) 2111 - highway.. number - 999: If highway number - 99: If highway number 2 - 0: print(" Lighway number,"is primary, going eastwest.) else: 8 print("I-, highway_number,"is primary, going north/south.") 9 10 else: 11 primaryNumber - highway number 12 highway number - 180 13 If highway_number 2 - 0 print("1primaryNumber,"is auxiliary, serving Istr(highway_number) "going eastwest.) 15 else: 16 print("I.l.primarylumber, is auxiliary, serving the str(highway_number) going north/south.) 17 else: 18 printstr(highway. number) is not a valid Interstate Highway, number") 1: Primary (90) Output is nearly correct; but whitespace differs. See highlights below. Special character legend Input 90 Your output I- 90 is primary, going east/west. Expected output I-90 is primary, going east/west. 2: Auxiliary (290) Output is nearly correct; but whitespace differs. See highlights below. Special character legend Input 290 Your output I- 290 is auxiliary, serving 1-90, going east/west. Expected output I-290 is auxiliary, serving I-90, going east/west. 3: Invalid (0) ^ Input 0 Your output 0 is not a valid interstate highway number

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

Students also viewed these Databases questions

Question

8. Use automatic bill paying and direct deposit.

Answered: 1 week ago