Предмет: Информатика, автор: Аноним

Определи фрагмент программу которая вычисляет сумму всех чётных чисел находящееся в диапазоне от 1 до 5 включительно​

Ответы

Автор ответа: ivanh16
1

Ответ:

a=int(input("Введите число а: "))

b=int(input("Введите число b: "))

if a%2==0 and b%2==0 and a>=1 and a<=5 and b>=1 and b<=5:

print (a+b)

Похожие вопросы
Предмет: Английский язык, автор: krylovaaaaaaaa
пожалуйста!!! помогите вставить пропуски в тексте.
набор слов: help, mend, say, eat, have, wear, buy, get up, send, be, can, come, work, feel, can't, use, watch, get, walk, go, receive, live, play.

In the 1930s families in England _________ larger, working hours
longer and incomes lower. Most fathers ________ full time, but there
________ little work for women. Most people ________ in rented or
council property houses without bathrooms, indoors toilets, electricity or
hot water. But you could ________ you home unlocked, and ________
safe in the streets.
Now homes ________ much more comfortable. All ________an
indoor toilet and bath. Mothers ________ full or part-time. Children
________ go out whenever they like because of the amount of traffic and
crime.
In 1930s children ________ at 6.30 or 7 a.m., ________ breakfast
and ________ to school on foot. After school they_______ with their
brothers or sisters and ________ in the home. With no television, a cold
house, and poor light, bedtime _______ early – at 7 or 7.30 p.m. On
Mondays children _______ with the washing. Cleaning day _______
Friday, and there _______ one day in the week for baking.
Now children _______ later. They _______ different after-school
activities and ________ a lot of television.
In 30s children ________ three sets of clothes – best for church,
second best for school, and clothes for playing. They ________ dark
colours and the material _______ often uncomfortable.Most clothes
home-made and many times. Then younger brothers
and sisters them. "My father always me to school in
shoes", one sixty-year-old man. Poor children boots.
Now children ________ a lot of clothes in bright colours. There
_______ clothes for special occasions, and children _______ new clothes
throughout the year. T-shirts , jeans , track suits and training shoes
popular among teenagers.
Предмет: Русский язык, автор: aska21
Предмет: Алгебра, автор: asder76