Search
 
SCRIPT & CODE EXAMPLE
 

PYTHON

how to print tables using python

please subscribe my channel - https://bit.ly/2Me2CfB

t = int(input("ENTER THE NUMBER : "))
for i in range(1, 11):
  b  = t * i
  print(f"{t} x {i} = {b}")
Comment

how to print tables using python

please subscribe my channel - https://bit.ly/2Me2CfB

t = int(input("ENTER THE NUMBER : "))
n = int(input(f"HOW MUCH TIMES DO YOU WANT TO MULTIPLY '{t}' : "))
for i in range(1, (n + 1)):
  b  = t * i
  print(f"{t} x {i} = {b}")
Comment

PREVIOUS NEXT
Code Example
Python :: functools python install 
Python :: python radiobutton default value 
Python :: fill_between matplotlib 
Python :: python check if string contains number 
Python :: how to set environment variable in pycharm 
Python :: python code 
Python :: how to get the end of a item in a python array 
Python :: na.fill pyspark 
Python :: str remove except alphabets 
Python :: dict python 
Python :: python re.findall() 
Python :: Python program to print all even numbers in a range 
Python :: how to backspace in python 
Python :: python sounddevice stop recording 
Python :: django log queryset 
Python :: how to convert a matrix string back to a matrix python 
Python :: find the difference of strings in python 
Python :: how does tkinter iconify() function work in python 
Python :: tail a log file with python 
Python :: graph implementation in python 
Python :: pandas change period 
Python :: Maximize Difference 
Python :: python sympy symbols 
Python :: backend in python 
Python :: how to step or only print every two element of list python 
Python :: python cartesian coordinates code 
Python :: apply 2d mask to 3d array python 
Python :: pandas loop over chunk of rows 
Python :: gcd python 
Python :: Pass arguments in button tkinter 
ADD CONTENT
Topic
Content
Source link
Name
2+4 =