widgets.Text(
value=‘Hello World’,
placeholder=‘Type something’,
description=‘jjjjjjjjjkkkkkkkl:’,
disabled=False
)
widgets.Text(
value=‘Hello World’,
placeholder=‘Type something’,
description=‘jjjjjjjjjkkkkkkklkkkkkkkk:’,
disabled=False
)
Solution:
import ipywidgets as widgets
from IPython.display import display
layout = widgets.Layout(width=‘auto’, height=‘40px’) #set width and height
widgets.Text(
value=‘Hello World’,
placeholder=‘Type something’,
description=‘Enter the First Number:’,
disabled=False,
style= {‘description_width’: ‘initial’}
)