No products in the cart.

Write a program that generates the …

CBSE, JEE, NEET, CUET

CBSE, JEE, NEET, CUET

Question Bank, Mock Tests, Exam Papers

NCERT Solutions, Sample Papers, Notes, Videos

Write a program that generates the table of a input number using for loop
  • 1 answers

Sheetal Sudhish 2 weeks ago

try this program: import pandas as pd num = int(input("Enter a number: ")) df = pd.DataFrame() df['Multiplier'] = range(1, 11) df['Product'] = df['Multiplier'].apply(lambda x: num * x) print(df)
http://mycbseguide.com/examin8/

Related Questions

Founder of python
  • 2 answers

myCBSEguide App

myCBSEguide

Trusted by 1 Crore+ Students

Test Generator

Test Generator

Create papers online. It's FREE.

CUET Mock Tests

CUET Mock Tests

75,000+ questions to practice only on myCBSEguide app

Download myCBSEguide App