Question: I need it for python CHALLENGE ACTIVITY 5.1.4: Multi-branch if-else statements: Print century. Write an if-else statement with mulitiple branches. If year is 2101 or
I need it for python
CHALLENGE
ACTIVITY
5.1.4: Multi-branch if-else statements: Print century.
Write an if-else statement with mulitiple branches. If year is 2101 or later, print "Distant future" (without quotes). Otherwise, if year is 2001 or greater, print "21st century". Otherwise, if year is 1901 or greater, print "20th century". Else (1900 or earlier), print "Long ago".
year = 1776
''' Your solution goes here '''
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
