subject

Why isnt this code working in PyCharm? Directions:
A social center is setting up a new mentoring program. The aim of the program is to match older
people with younger people in order to build mentor/mentee relationships. Several rooms have
been set up to serve as meeting spaces. When a person arrives at the social center, that person
is asked his name and then his age. Based on the age, that person will be directed to the
appropriate room as follows:
● Room A - Ages 10 and under and 80 and over
● Room B - Ages 11 to 20 and ages 70 to 79
● Room C - Ages 21 to 30 and ages 60 to 69
● Room D - Ages 31 to 40 and ages 50 to 59
● Room E - Ages 41 to 49

Code:

name = input("Hello! What is your name? ")
age = int(input("How old are you? "))

if age = 80:
print("Welcome " + name + ", you will be going to Room A")
elif (age > 11 or age 70 or age 21 and age = 60 or age <= 69):
print("Welcome " + name + ", you will be going to Room C")

ansver
Answers: 2

Another question on Computers and Technology

question
Computers and Technology, 23.06.2019 00:20
The open systems interconnection (osi) reference model: defines standards for many aspects of computing and communications within a network. is a generic description for how computers use multiple layers of protocol rules to communicate across a network. defines standards for wireless local area network (wlan) communication protocols. details the advantages and disadvantages of various basic network cabling options.
Answers: 1
question
Computers and Technology, 23.06.2019 15:30
The song about casey jones a railroad engineer who gives his life on the job would most likely gall under the folk song category of? a-work song b-nonsense song c-religious song d-ballad
Answers: 1
question
Computers and Technology, 25.06.2019 06:00
If an image has only 4 colors, how many bits are necessary to represent one pixel’s color?
Answers: 1
question
Computers and Technology, 25.06.2019 06:20
If you want to change the speed of a layer's horizontal scrolling, what should you change? a. the x coefficient b. the y coefficient c. the virtual width d. the order of the game's layers select the best answer from the choices provided
Answers: 2
You know the right answer?
Why isnt this code working in PyCharm? Directions:
A social center is setting up a new mentor...
Questions
question
Mathematics, 23.11.2019 12:31
question
Arts, 23.11.2019 12:31
Questions on the website: 13722367