Search
 
SCRIPT & CODE EXAMPLE
 

PYTHON

python program to multiply two numbers and multiply the answer with 2nd variables

n=10
num1 = 2
num2 = 3

for i in '10':
    num3 = num1 * num2
    num1 = num2 *num3
    num2 = num3 * num1
    print(m)
    print(num1)
    print(num2)
#2,3,6,18,108,1944   
Comment

PREVIOUS NEXT
Code Example
Python :: Pandas: Filter column value in array/list - ValueError: The truth value of a Series is ambiguous 
Python :: creating environment variable in python 
Python :: how to kick and ban members with discord.py 
Python :: nunique sort 
Python :: code help 
Python :: keras model predict list of input tensors 
Python :: python check if not none or empty 
Python :: multiplication table in python 
Python :: sort key python 
Python :: 1038 solution python 
Python :: edit packet in scapy 
Python :: save datetime day in seperate column 
Python :: how to add import pydictionary in python 
Python :: how to take input a matrix using map in python 
Python :: open pdf from pyqt in the same folder 
Python :: move to next iteration of for loop python 
Python :: django url with special characters in template 
Python :: loop until counted to 100 forever 
Python :: python scrapy browser headers to dictionary 
Python :: how to pass on all the arguments to internal function in python 
Python :: excel win32com select multiple cells in a row or column 
Python :: move a file in python 
Python :: opencv minimum of two images python 
Python :: How to join or combine multiple csv files with concatenate and export dataframe to csv format 
Python :: python show difference between two strings and colorize it 
Python :: sklearn list parameters 
Python :: mql5 python 
Python :: flask in colab ngrok error 
Python :: python list chunks using yield 
Python :: how can i add a list in python 
ADD CONTENT
Topic
Content
Source link
Name
3+9 =