Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

> CEIS110: Introduction to Programming home > 2.1: If-else statement Learn how our autograder works 569392.4224038.qx3zay7 1 year = int(input()) 2 if year >= 2101:

image text in transcribed
> CEIS110: Introduction to Programming home > 2.1: If-else statement Learn how our autograder works 569392.4224038.qx3zay7 1 year = int(input()) 2 if year >= 2101: 3 print('Distant future') 4 elif year >= 1900: 5 print(' Long ago') 6 elif year >= 2001: 7 print('21 century') 8 else year >= 1901 9 print( '20th century') Run X Not all tests passed X Test aborted Exited with return code 1. File "/home/runner/local/submission/sample_program/main.py", line 3 print ( 'Distant future' ) IndentationError: expected an indented block after 'if' statement on line 2

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

Mobile Communications

Authors: Jochen Schiller

2nd edition

978-0321123817, 321123816, 978-8131724262

More Books

Students also viewed these Programming questions

Question

Describe the seven-step sales process.

Answered: 1 week ago

Question

Write a note on Historical Development of clinical Trials?

Answered: 1 week ago