Write a program to print out any sized multiplication table

Assignment Help Programming Languages
Reference no: EM131931209

Assignment-

Topics covered:

  • Functions
  • If statements
  • Loops (While or For)

You will be adding your own functions to the program. There must not be any variables used outside any of the functions.

QUESTION - Write a program to print out any sized multiplication table between 1 to 20 (inclusive).

Can only use the functions provided, and not allowed to change the given main() and display_heading() functions. Am not allowed to use any advanced python language. A list of topics we have covered are:

Variables, doing calculations, print() function

Evaluating expressions, modulus and integer division operators, docstring and comments, the math module, developing a program in steps

The type() function, strings, objects, the len() function, string slices

Manipulating strings, string methods, dot notation

Getting user input, converting between types, generating random number

Defining functions

Nested functions and the scope of variables

Boolean expressions

If statements

If ... else, if ... elif statements, nested ifs

Loops, while loops

Range function, for...in range() loops

Attachment:- Assignment File.rar

Reference no: EM131931209

Questions Cloud

What is the expected return for stock : you estimate a -6% return for that same stock. The risk-free rate is 4.7%. What is the expected return for this stock?
Foreign exchange market : Explain what S and D represent in the foreign exchange market.
Find the value of k and state the taguchi loss function : Find the value of k, and state the Taguchi loss function. What is the economic loss associated with x = 0.215?
Should trimline frames use the new materials : What is the additional benefit to Trimline Frames from using the new material and improving quality?Should Trimline Frames use the new materials?
Write a program to print out any sized multiplication table : CompSci 101 - Assignment- Write a program to print out any sized multiplication table between 1 to 20 . You will be adding your own functions to the program
What is standard deviation of expected returns : What is the standard deviation of the expected returns for this stock?
Fence around yard to confine : Stan's dog is causing the damage, so if the social optimum is to be achieved, the only solution is to have Stan pay to put up a fence around
Calculate the average product of labor : Calculate the Average Product of Labor for L=1 to L=10.
Calculate the npv for both projects : Calculate the NPV for both projects if the discount rate is 11%.

Reviews

len1931209

4/6/2018 5:51:05 AM

Detailed Question: Need this assignment done asap. Note for assignment: Can only use the functions provided, I am not allowed to change the given main() and display_heading() functions. Am not allowed to use any advanced python language. Must stick to guidelines of what has been taught in class. You will be adding your own functions to the program. There must not be any variables used outside any of the functions. NOTE (VERY IMPORTANT): Your file must include a docstring at the top of the file containing your name, UPI, ID number and a description of the program. Worth: This assignment is marked out of 25 and is worth 2.5% of your final mark.

len1931209

4/6/2018 5:50:58 AM

Mark Allocation: The mark allocations for each of the six functions to be implemented are as follows, where the total is 25. def get_number(num, spaces) – 3 marks, def get_word(words, spaces) – 5 marks, def get_row(num, size, spaces) – 5 marks, def display_separator(size, spaces) – 3 marks, def display_table(size, spaces) – 5 marks and def get_user_input() – 4 marks.

Write a Review

Programming Languages Questions & Answers

  Write a haskell program to calculates a balanced partition

Write a program in Haskell which calculates a balanced partition of N items where each item has a value between 0 and K such that the difference b/w the sum of the values of first partition,

  Create an application to run in the amazon ec2 service

In this project you will create an application to run in the Amazon EC2 service and you will also create a client that can run on local machine and access your application.

  Explain the process to develop a web page locally

Explain the process to develop a Web page locally

  Write functions

These 14 questions covers java class, Array, link list , generic class.

  Programming assignment

If the user wants to read the input from a file, then the output will also go into a different file . If the user wants to read the input interactively, then the output will go to the screen .

  Write a prolog program using swi proglog

Write a Prolog program using swi proglog

  Create a custom application using eclipse

Create a custom Application Using Eclipse Android Development

  Create a application using the mvc architecture

create a application using the MVC architecture. No scripting elements are allowed in JSP pages.

  Develops bespoke solutions for the rubber industry

Develops bespoke solutions for the rubber industry

  Design a program that models the worms behavior

Design a program that models the worm's behavior.

  Writing a class

Build a class for a type called Fraction

  Design a program that assigns seats on an airplane

Write a program that allows an instructor to keep a grade book and also design and implement a program that assigns seats on an airplane.

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd