90/100 by 36120 users

*Most common queries about 9×9 multiplication table python:*

Open Question: Need help creating a multiplication timetable with rows and column using Python program.?

Im a total noob in programming, i ve got to create a program which will require two input from user and they have to be integers r and c and display a multiplication table with r rows and c columns e.g. if the input were 5 and 6 the output should look like this: 1 2 3 4 5 6 2 4 6 8 10 12 3 6 9 12 15 18 4 8 12 16 20 24 5 10 15 20 25 30How to program an infinite loop in python?

Is there a way to program an loop that goes about one line every five seconds, and isn't a multiplication table, but sentences that change, like: Help! Where am i? Get me out of here! Im stuck in the computer! Help! Where am i? Get me out of here! Im stuck in the computer! Anything like that? Pretty please with cherries on top? Im kinda new at programming and i cant really find anything like this on the net. Wow! i learned some new stuff! But, i was talking about an loop that would repeat without feedback from the human operator (me) hmm odd I did this: while True:var=0 if var==10: var=0 #expected indent here and onward. print seq[0] print "\n" var=var+1 # I pressed enter here and then my computer started whirring, and it hasnt printed anything on python yet, about a few minutes later. hmmm maybe i should have put a break somewhere .Problem with python please help?

Function Name: multiplicationTables Parameters: number – an integer representing the number for which you want to create a multiplication table limit – an integer representing how high you want the multiplication table to go Return Value: None Test Cases: 1. >>>multiplicationTables(3, 4) 3*0 = 0 3*1 = 3 3*2 = 6 3*3 = 9 3*4 = 12 2. >>>mutiplicationTables(5, 2) 5*0 = 0 5*1 = 5 5*2 = 10 Description: Write a function that takes in a two numbers. The first number is the number for which you wish to make a multiplication table; the second is how far you want the table to go. Have your This is my code but it doesn't run def table(a, b, l): while a<=l and b>1: result = b*a print b, "X", a , "=", result a+=1 b = input("Tell me the number whose table you want to print ") a = input("Start the table from? ") l = input("Print up to? ") table(a, b, l) the answer should look like this (it doesn't) Tell me the number whose table you want to print 7 Start the table from? 1 Print up to? 10 7 X 1 = 7 7 X 2 = 14 7 X 3 = 21 7 X 4 = 28 7 X 5 = 35 7 X 6 = 42 7 X 7 = 49 7 X 8 = 56 7 X 9 = 63 7 X 10 = 70 I get a sintax error saying : There's an error in your program: expected an indented blockPython programming help?

I made this code for a course I am taking, however I have run into a problem that I don't know how to resolve. NOTE: The indentation isn't right, I know that. Yahoo won't print indentation properly but rest assured that I know where it is supposed to be. def print_multiplication_table(n): first = 1 second = 1 while first and second <= n: answer = first * second print "first * second = answer" second = second 1 if second > n: second = 1 first = first 1 if first > n: break print_multiplication_table(3) The goal is to produce the answer: 1 * 1 = 1 1 * 2 = 2 1 * 3 = 3 2 * 1 = 2 2 * 2 = 4 2 * 3 = 6 3 * 1 = 3 3 * 2 = 6 3 * 3 = 9 So my question is, how do I get the procedure to print out the "value of first * value of second = answer" without actually having it automatically doing the math for me, and without it simply printing the string "first" * second = answer"? Sorry if this is confusing but I'm really not sure how to do this.Can someone please help me with this python question please?

. Create a new program and save it as multiTables.py; this program prints out a multiplication table which shows the products of all numbers 0 to 10. Do not pre-calculate the values. Use a nested for loop to make the code as efficient as possible output 0 * 0 =0 9 * 10 =90 0 * 0 =0 10 * 0 = 0 0 * 1 =0 10 * 1 =10 0 * 2 =0 10 * 2 =20 0 * 3 =0 10 * 3 =30 0 * 4 =0 10 * 4 =40 0 * 5 =0 10 * 5 =50 0 * 6 =0 10 * 6 =60 0 * 7 =0 10 * 7 =70 0 * 8 =0 10 * 8 = 80 0 * 9 =0 10 * 9 = 90 0 * 10 =0 10 * 10 =10.

#### 9×9 Multiplication Table Python Related Videos

**Title :**R Language 9×9 multiplication table python in Multiplication category**Filename :***Multiplication-R Language-9×9 multiplication table python***Filetype:***PNG***Original Size:***775 x 775 pixels***Resolution:***High Definition***Category :***Multiplication***Labeled with:**9x9 multiplication‚ 9x9 multiplication table pyth‚ 9x9 multiplication table or multiplication category**Total Download :**165