Wählen Sie Spalten aus, die in New DataFrame in Python enthalten sind
new = old[['A', 'C', 'D']].copy()
Fantastic Fly
new = old[['A', 'C', 'D']].copy()
a = ['a', 'b', 'c']
b = ['1', '0', '0']
res = "\n".join("{} {}".format(x, y) for x, y in zip(a, b))
# Multiplication table (from 1 to 10) in Python
num = 12
# To take input from the user
# num = int(input("Display multiplication table of? "))
# Iterate 10 times from i = 1 to 10 By AyushG
for i in range(1, 11):
print(num, 'x', i, '=', num*i)
number = int(input ("Enter the number of which the user wants to print the multiplication table: "))
# 10 times
print ("The Multiplication Table of: ", number)
for count in range(1, 11):
print (number, 'x', count, '=', number * count)