Computers and Technology

What is the python code for these problems (100 points): Ask the user to enter a name. If there is an ‘a’ in the name, print a message saying ‘The name contains at least one a.’ If there is no ‘a’, print “The name does not contain the letter a.” Extend the previous program and count the number of a’s that come in the name. Ask the user to enter a number. If the number is between 1 and 50, print “The number is too small.” If the number is between 50 and 100, print “The number is too big.” If the number is 50, print “You found me.” If the number is 100, print “You found a tip: The number is between 45 and 60.” The program should keep asking the user for the number until he enters 50. Use a for loop to print numbers from 10 to 40. Ask the user to enter a number. Print all the even numbers till that number using a for loop. Generate a random integer. It can be any number from 1 to 100. Print numbers from 1 to that number. Repeat question 4. Replace the for loop with a while loop. Thanks so much!!!

answer
Answers: 2

Other questions on the subject: Computers and Technology

image
Computers and Technology, 22.06.2019 06:30, lilpeepxliltracy
This technology is used to produce high-quality documents that look good on the computer screen and in print.
Answers: 1
image
Computers and Technology, 22.06.2019 07:30, ghopk5929
In the film "epic 2015," epic is the name for:
Answers: 3
image
Computers and Technology, 22.06.2019 20:00, BreadOfTheBear
What statement best describes operating systems? it’s possible for modern computers to function without operating systems. most operating systems are free or very inexpensive. operating systems are managed by the computer’s microprocessor (cpu). operating systems manage the computer’s random access memory (ram).
Answers: 1
image
Computers and Technology, 23.06.2019 04:31, manlyman31
Selling a product through an electronic medium is
Answers: 1
Do you know the correct answer?
What is the python code for these problems (100 points): Ask the user to enter a name. If there is a...

Questions in other subjects:

Konu
Mathematics, 23.06.2020 23:01
Konu
English, 23.06.2020 23:01
Konu
Mathematics, 23.06.2020 23:01