





Write the code in python, if you cannot answer all the question please dont anser, thanx very much. Please gimme a screen shot for code.
Please go through comments,input and output and modify accordingly thank you images provided for coninience.
#Please include your details as comments as given in
question
#please read comments for details .
#Thank You
sub=["math111","comp222","buss101","info201"] #List of
subjects according to question please modify if required
print('{0: ^20}{1: <20}{2: <20}'.format('Index','Subject
code','Lower Case')) #printed header
for code in sub:
print('{0: ^20}{1: <20}{2:
>20}'.format(sub.index(code),code.upper(),code.lower()))
#printed values accordingly

#Please include your details as comments as given in
question
#please read comments for details .
#Thank You
num=input("How many numbers to put into lists? ") #input
taken
num=int(num) #string into number conversion
l1=list() #lists created
l2=list()
for i in range(0,num): #inserting or appending values calculated
accordingly
l1.append((i+1)*100)
l2.append(i*2)
print(l1) #printing lists
print(l2)

#Please include your details as comments as given in
question
#please read comments for details .
#Thank You
import random
num=input("How many random digits in each list? ") #input
taken
num=int(num) #string into number conversion
l1=list() #lists created
l2=list()
print('{0: <15}{1: <15}{2: <15}{3:
<15}'.format('Count','List 1','Compare','List 2'))
for i in range(0,num): #inserting or appending values calculated
accordingly
l1.append(random.randint(0,10))
l2.append(random.randint(0,10)) #comparing values of list and
printing accoudingly
if l1[i]<l2[i]:
print('{0: <15}{1: <15}{2: <15}{3:
<15}'.format(i+1,l1[i],'<',l2[i]))
elif l1[i]==l2[i]:
print('{0: <15}{1: <15}{2: <15}{3:
<15}'.format(i+1,l1[i],'=',l2[i]))
else:
print('{0: <15}{1: <15}{2: <15}{3:
<15}'.format(i+1,l1[i],'>',l2[i]))

#Please include your details as comments as given in
question
#please read comments for details .
#Thank You
num=input("How many numbers in lists? ") #input taken
num=int(num) #string into number conversion
l1=list() #list created
for i in range(0,num):#list append by user given number
l1.append(int(input("Enter list element: ")))
l2=list(reversed(l1)) #list reversed
print('{0: <15}{1: <15}{2:
<15}'.format('Index','List','Reverse'))
for i in range(0,num):#list printed
print('{0: <15}{1: <15}{2:
<15}'.format(i,l1[i],l2[i]))

#Please include your details as comments as given in
question
#please read comments for details .
#Thank You
ls=list() #list created
print("List is currently empty: ",ls) #printing List
print()
while True: #loop that never ends
i=input("Enter index to insert element to list (enter Q to quit) :
")
if i is 'Q': #breaks only if entered value is Q
break
else: #index warnings
i=int(i)
if i < -1:
print("Index is too low")
print()
continue
elif i > len(ls):
print("Index is too high")
print()
continue
else: #word input taken and list printed
word=input("Enter a word to add to list: ")
ls.insert(i,word)
print("The list is: ",ls)
print()
print("Good bye!") #exited loop says good bye


Write the code in python, if you cannot answer all the question please dont anser, thanx very much. Please gimme a scr...
Write the code in Python. The output should be exact the same as
the given.
Question 1. Study the examples below carefully and write a program for journal subscription Your program should work exactly as the following examples The text in bold indicates user input. Example 1: The user is a student, and the user subscribes to 2 journals Question 1 - Journal of Commodity Markets Journal of Sustainable Mining Journal of Asia-Pacific Biodiversity Student $21 $22 $27 Non-student $50...
Note: You must write this program in Python. General Requirements The program should display a menu and allow the user to perform one of the following tasks. Add an item to the list Delete an item from the list Print the list Print the list in reverse Quit the program The program should run until the user chooses to quit. In Python, programmatically quitting the application is achieved with the exit() procedure. You should use a List to store the...
Only use the code in Objectives and write the code in Python
Question 1. Study the examples below carefully and write a program for journal subscription Your program should work exactly as the following examples The text in bold indicates user input. Example 1: The user is a student, and the user subscribes to 2 journals Question 1 - Journal of Commodity Markets Journal of Sustainable Mining Journal of Asia-Pacific Biodiversity Student $21 $22 $27 Non-student $50 $60 $75 Are...
Code In Python
Well Document Code Every Line Please
* You cannot use any external Python libraries. You can, of course, import the libraries that are included in the standard Python installation though. * Your software must use selection (if, if/ else, etc.) and repetitive (for, while, etc) control structures and have programmer defined functions. * Make sure you understand the code you submit since you will be expected to answer questions about it. The way the program should work...
Code In Python Well Document Code Every Line
Please
* You cannot use any external Python libraries. You can, of course, import the libraries that are included in the standard Python installation though. * Your software must use selection (if, if/ else, etc.) and repetitive (for, while, etc) control structures and have programmer defined functions. * Make sure you understand the code you submit since you will be expected to answer questions about it. The way the program should work...
Code In Python Well Document Code Every Line Please 5
Stars
* You cannot use any external Python libraries. You can, of course, import the libraries that are included in the standard Python installation though. * Your software must use selection (if, if/ else, etc.) and repetitive (for, while, etc) control structures and have programmer defined functions. * Make sure you understand the code you submit since you will be expected to answer questions about it. The way the program...
I need help please... Intro to Programming in C – small program 8 Project objective: To compile, build, and execute an interactive program using character arrays and string.h functions **Submit source code (prog8.c) through Canvas • One source code file (unformatted text) will be submitted • The file name must match the assignment • The code should be tested and run on a Microsoft compiler before it is uploaded onto Canvas • The code must be submitted on time in...
Python please help! Thanks you
Write a code to get an unlimited number of grades from the user (the user can press enter to finish the grades input, or use a sentinel, for example-1), and then calculate the GPA of all the grades and displays the GPA To do this you might need some help. Try to follow the following process (and check your progress by printing different values to make sure they are as they supposed to be): 1-...
Java Code please read comments and add the code to required lines....LINE 1 to LINE 5 ********************************************************************** * Program Summary: This program demonstrates these basic Java concepts: * - Creating an array based on user input * - Accessing and displaying elements of the array * * The program should declare an array to hold 10 integers. * The program should then ask the user for an integer. * The program should populate the array by assigning the user-input integer...
You are to write a program name Bank.java that maintains a list of records containing names and balance of customers. The program will prompt the user for a command, execute the command, then prompt the user for another command. The commands must be chosen from the following possibilities: a Show all records r Remove the current record f Change the first name in the current record l Change the last name in the current record n Add a new record d ...