USING PYTHON. please print screen it working (input and output)!
Create a program for the following:
Orlando International Airport is creating an app that allows a passenger to check on the availability of flights in 2020. As a first test, a user may check on flights to either Albany or Austin. To get into the app, the user must enter an account number, which must be between 1500 and 9999. The user should then be asked to enter 1 for Albany and 2 for Austin. Then asked to enter a month number, which has to be between 1 and 12, a day number, which has to be 1 to 31 for January, etc. Finally asked to enter the number of passengers, which must be between 1 and 8. The interaction and output should look like:
Enter ur act number: 1234
Enter ur location (press 1 for Albany or 2 for Austin): 1
Enter month of travel: 2
Enter day of travel: 23
Enter # of passengers: 2
You have requested the flight info for flights to Albany on 2/23/20 for 2 people. This info will be emailed to the address in act number 1234.
*If the answered given by the person don't meet the right standards, then the user will need to be redirected to correct them (using the loop).
USING PYTHON. please print screen it working (input and output)! Create a program for the following:...
I need the pseudocode and python for the four attached problems: 1. (Chapter 5 - For Loop) Logic Technical College has a current tuition of $10,000 per year. Tuition is scheduled to increase by 5% each year. Using a FOR loop, design a program that calculates and displays the tuition each year for the next ten years, like so: The tuition for year 1 will be: 10500.00 The tuition for year 2 will be: 11025.00 ……….. (You, of course will...
Please answere using python language codes. Write a program to print out Collatz sequence for a user-supplied number. Prompt the user for a positive integer which will become the first number in the sequence. Next number in the sequence is derived as follows: If previous number is odd, the next number is 3 times the previous, plus 1. If previous number is even, the next number is half of the previous According to Collatz proposition, the sequence ultimately reaches 1...
You are to write a program (BookExceptionsDemo.java) that will
create and, using user input, populate an array of instances of the
class Book. The class Book is loaded in our Canvas files:
Book.java
The user will enter a number n (n must be > 0, trap the user
until they input a valid value for n), Your program will declare
and create an array of size n of instances of the class Book.
The user will be asked to enter...
java program: Write a program which displays the following list on the screen and asks the user to enter either 1 or 2 and perform one of the operations based on the user’s input. If the user enters any other character other than 1 or 2 then display “wrong choice”. LIST OF OPERATIONS 1. Buzz Number 2. Consecutive Odd numbers Note: A BUZZ number is a number which either ends with 7 or is divisible by 7. Sample input 27...
Must be done in python and using linux mint
Write a program to create a text file which contains a sequence of test scores. Each score will be between 0 and 100 inclusive. There will be one value per line, with no additional text in the file. Stop adding information to the file when the user enters -1 The program will first ask for a file name and then the scores. Use a sentinel of -1 to indicate the user...
USING PYTHON PLEASE
Write a program that calculates the factorial value of a number entered by the user. Remember that x! =x* (x-1)* (x-2)*... *3+ 2* 1. Your program should check the value input by the user to ensure it is valid (i.e., that it is a number > =1). To do this, consider looking at the is digit() function available in Python. If the user enters an incorrect input, your program should continue to ask them to enter a...
Python. Please attach python file if possible. All Instructions
given:
General The program must allow a trader to enter in stock's symbol, its current price, and a lucky number (see the validation rules for these inputs below). The program then outputs a recommendation to either buy, sell, or hold the stock. The recommendation is based on whether the current stock price is above, below, or equal to a particular threshold value specific to that stock (see more on the threshold...
Please use Python
Exercise 1 Create a program named sentinel_loop using break. This program should implement functionality that is the same as the Part 1 tutorial example, except for the following differences: • • This program should count even and odd integers. This program should report counts of even and odd integers. Remember that even integers can be identified using the test condition: value % 2 == 0 Remember to test your code for appropriate behavior when the user signals...
please solve using python
thank you!
Write a program which prompts the user to enter a number of rows, and prints a hollow square star pattern with 2 diagonals. Note: you can assume that the integer will always be > 1 and will be an odd number. For example: Input Result 5 Enter number of rows: 5 ***** ** ** * * * ** ** ***** 9 Enter number of rows: 9 ** ** ** * * * * *...
Topics: list, file input/output (Python) You will write a program that allows the user to read grade data from a text file, view computed statistical values based on the data, and to save the computed statistics to a text file. You will use a list to store the data read in, and for computing the statistics. You must use functions. The data: The user has the option to load a data file. The data consists of integer values representing student...