DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR PYTHON
multiplication table with three lines of code in python
Q
=
int
(
input
(
"Enter Format: "
)
)
for
i
in
range
(
0
,
11
,
1
)
:
print
(
"{0} x {1} = {2}"
.
format
(
i
,
Q
,
i
*
Q
)
)
PREVIOUS
NEXT
Tagged:
#multiplication
#table
#lines
#code
#python
ADD COMMENT
Topic
COMMENT
Name
6+6 =
Submit