Using Python, Can someone please assist in the following:

These are the hints:

SOURCECODE:
a=0
while(True):
#looping until user enters a number between 2 and 10
a=int(input("What size multiplication table
would you like? (2-10): "))
if(a<2 or a>10):
print("Invalid
entry-Enter a number between 2 and 10")
else:
break;
print("\t\t--- Multiplication Table ( ",a,"*",a," ) ---")
print("\t ",end="")
for i in range(a):
print(i+1,end="\t
") #printing column
headers
print("\n")
for i in range(a):
s="-"
print(9*s,end="");
#printing spaces after column headers
print("\n")
for i in range(a):
if((i+1)<10):
print("
",i+1,"|",end="") #logic for
printing row labels
else:
print("",i+1,"|",end="")
print("\t",end="")
for j in
range(a):
#logic for printing original Multiplication table of a X a
m=(i+1)*(j+1)
if(m<10 and
m%2==0):
print(" ",m,"#",end="\t") #printing numbers with right
aligned
elif((m>=10 and
m<100) and m%2==0):
print(" ",m,"#",end="\t") #printing numbers with right
aligned
elif(m>=100 and
m%2==0):
print("",m,"#",end="\t") #printing numbers with
right aligned
if(m<10 and
m%2!=0):
print(" ",m," ",end="\t") #printing numbers with right
aligned
elif(m>=10 and
m%2!=0):
print(" ",m," ",end="\t") #printing numbers with right
aligned
print("\n")
CODE SCREENSHOT:


OUTPUT1:


OUTPUT2:

Using Python, Can someone please assist in the following: These are the hints: Summary This week's lab is to create a simple multiplication table using nested loops and if statements. Prompt the...
Need some help I am not understanding this programming class at
all. We are using Microsoft visual studio with python in console
mode to complete these labs.
Double-click to hide white space CIS115 Week 4 Lab Overview Title of Lab: Multiplication Table in Python Summary This week's lab is to create a simple multiplication table using nested loops and if statements. Prompt the user for the size of the multiplication table (from 2x2 to 10x10). Use a validation loop to...
Write a Java program that uses nested for loops to print a
multiplication table as shown below.
Make sure to include the table headings and separators as
shown.
The values in the body of the table should be computed using
the values in the heading
e.g. row 1 column 3 is 1 times 3.
* | 1 2 3 4 5 6 7 8 9 4 | 1| 1 2 3 456 7 8 9 2 | 2 4 6.8...
Java use for loop (nested for loop) if/else possible
on blue J.
(row *col)%2 for 0's and 1's.
Write a program to generate the below table: . The table should be able to vary in size based on a class constant called SIZE; minimum of 1, maximum of 9. . The O's and 1's can and should be generated by evaluating a mathematical expression using the row and column numbers Think about the operators: +-* / % . The output...
Using Html 5:
- You are to create a table consisting of 11 rows and 11 columns.
The table cells are to be 40 pixels wide, each row. The table is to
also have a header row that spans across all columns and contains
'Multiplication Math' as the table name.
- Alternating rows will have a different background color.
- The table is to be centered in the HTML page. The top table
row is to have the numbers 1-10...
Java Submit a program in a .java file. The program should print a multiplication table for the numbers 1-9. This requires a nested for loop. The outer loop moves from row to row, while the inner loop prints the row. Use tabs to separate the output, such as in the following statement: System.out.println(“1\t2\t3\t4\t5\t6\t7\t8\t9”); Output should look similar to the following. 1 2 3 4 5 6 7 8 9 ------------------------------------------------------------------ 1 2 3 4 5 6 7 8 9...
This program is C++
You have just been offered your first big software contract. The
scope of work is to create a tool for grade school students to
learn their times tables. In this program, you will create a 10 x
10 grid of times tables as a cheat sheet for the students to learn.
This will display the values of the times tables all the way from
1x1 to 10x10. Make use of formatting tools like inserting tabs,
setwidth(),...
C++ Program - Arrays- Include the following header files in your program: string, iomanip, iostream Suggestion: code steps 1 thru 4 then test then add requirement 5, then test, then add 6, then test etc. Add comments to display assignment //step 1., //step 2. etc. This program is to have no programer created functions. Just do everything in main and make sure you comment each step. Create a program which has: 1. The following arrays created: a. an array...
Write a simple Java program with the following naming structure: Open Eclipse Create a workspace called hw1 Create a project called hw1 (make sure you select the “Use project folder as root for sources and class files”) Create a class called Hw1 in the hw1 package (make sure you check the box that auto creates the main method). Add a comment to the main that includes your name Write code that demonstrates the use of each of the following basic...
Write a Python program that tests the function main and the
functions discussed in parts a through g.
Create the following lists:
inStock - 2D list (row size:10, column
size:4)
alpha - 1D list with 20 elements.
beta - 1D list with 20 elements.
gamma = [11, 13, 15, 17]
delta = [3, 5, 2, 6, 10, 9, 7, 11, 1, 8]
a. Write the definition of the function setZero
that initializes any one-dimensional list to 0
(alpha and beta)....
Can you please complete it in java and add comments explaining
the program so I can understand it.
Test cases:
Test case 2 input
PROBLEM: Evaluate a prefix expression. The operands in the expression are single digit whole numbers. The operators are binary addition (+), subtraction (), and multiplication(*), and a trinary operator "switcher" (a). The a operator of a, b, and c returns b when a is positive; otherwise, it returns Example 1: * + 4 53 1 simplifies...