Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Create seperate . py source files to complete the tasks below Task 1 Ask the user for a number Output a boolean value that answers

Create seperate .py source files to complete the tasks below
Task 1
Ask the user for a number
Output a boolean value that answers the question: are all the characters of the user input numerical?
Task 2
Ask the user for an input
Output a boolean value that answers the question: is the input is a valid title
Transform the input to all uppercase letters
Task 3
Ask user for input
Ask user for character
Output a True or False value if the character is found in the input
Output a position of where the character is found
Task 4
Ask the user for two numbers
Output the first number raised to the second number using an arithmetic operator
Task 5
Ask the user for a year
Output to the user if the year is a leap year by following the algorithm below
To determine whether a year is a leap year, follow these steps:
1)If the year is evenly divisible by 4, go to step 2. Otherwise, go to step 5.
2)If the year is evenly divisible by 100, go to step 3. Otherwise, go to step 4.
3)If the year is evenly divisible by 400, go to step 4. Otherwise, go to step 5.
4)The year is a leap year (it has 366 days).
5)The year is not a leap year (it has 365 days).
Output "Yes, {year} is a leap year" or "No,{year} is not a leap year"
Task 6
Ask the user for a number
Determine if the number is positive, negative, or neutral
Output a message to screen
Task 7
Ask the user for a letter. Assume the use will input only a single letter
Determine if the user input is a vowel.
If so, output which vowel the user inputted
If not, output another message

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Students also viewed these Databases questions

Question

=+1. What is schizophrenia?

Answered: 1 week ago

Question

How did you feel about taking piano lessons as a child? (general)

Answered: 1 week ago