Telegram Group & Telegram Channel
#вопрос263

Напишите функцию, которая будет принимать строку (на английском языке) и возвращать сумму значений гласных букв. Каждой гласной букве соответствует какое-то число: A = 4, E = 3, I = 1, O = 0, U = 0.

Регистр букв роли не играет.

Примеры:

sum_of_vowels("Let\'s test this function.") ➞ 8
sum_of_vowels("Do I get the correct output?") ➞ 10
sum_of_vowels("I love edabit!") ➞ 12



tg-me.com/pythonjuniorjob/905
Create:
Last Update:

#вопрос263

Напишите функцию, которая будет принимать строку (на английском языке) и возвращать сумму значений гласных букв. Каждой гласной букве соответствует какое-то число: A = 4, E = 3, I = 1, O = 0, U = 0.

Регистр букв роли не играет.

Примеры:

sum_of_vowels("Let\'s test this function.") ➞ 8
sum_of_vowels("Do I get the correct output?") ➞ 10
sum_of_vowels("I love edabit!") ➞ 12

BY Python вопросы на собеседовании с ответами


Warning: Undefined variable $i in /var/www/tg-me/post.php on line 283

Share with your friend now:
tg-me.com/pythonjuniorjob/905

View MORE
Open in Telegram


Python вопросы на собеседовании с ответами Telegram | DID YOU KNOW?

Date: |

A Telegram spokesman declined to comment on the bond issue or the amount of the debt the company has due. The spokesman said Telegram’s equipment and bandwidth costs are growing because it has consistently posted more than 40% year-to-year growth in users.

How to Use Bitcoin?

n the U.S. people generally use Bitcoin as an alternative investment, helping diversify a portfolio apart from stocks and bonds. You can also use Bitcoin to make purchases, but the number of vendors that accept the cryptocurrency is still limited. Big companies that accept Bitcoin include Overstock, AT&T and Twitch. You may also find that some small local retailers or certain websites take Bitcoin, but you’ll have to do some digging. That said, PayPal has announced that it will enable cryptocurrency as a funding source for purchases this year, financing purchases by automatically converting crypto holdings to fiat currency for users. “They have 346 million users and they’re connected to 26 million merchants,” says Spencer Montgomery, founder of Uinta Crypto Consulting. “It’s huge.”

Python вопросы на собеседовании с ответами from ms


Telegram Python вопросы на собеседовании с ответами
FROM USA