TIME NOW
World current time now,
CALENDAR
Calendar monthly, yearly
login CONVERT LENGTH
login CONVERT TEMPERATURE
login DICTIONARIES, LISTS
login SCIENCE EDUCATION RELIGION
login WORK CALCULATOR
login CALCULATE LIFE

Python 3 programming language, learn python, tutorial

Previous articlePage bottomNext article  ALL TOPICS

Python 3. Exercises, tasks

 
1.

a="anupras - 1, simas - 20, petras - 30"
Get list (array) of names from string.
3 values and names can change:
jonas
simas
petras

2.

a='Oil price <input type = "text" value = "100">'

Value can change.
Print USD and EUR, where USD = 1.1 EUR in DIV elements
<div>10 USD</div>
<div>11 EUR</div>

3.

Write a Python program to convert rectangle height  and width  (in inches) to centimeters. Calculate area of the rectangle. Width and heght is set from input:
height = input("Enter text")
...

-- 
Previous articlePage topNext article  ALL TOPICS



 Use username: Guest, Anonymous, Programmer






QUOTES:
Breathes there the man with soul so dead, Who never to himself hath said, This is my own, my native land!
Sir Walter Scott
The only place where success comes before work is a dictionary.
Vidal Sassoon
Pain is inevitable. Suffering is optional.
M. Kathleen Casey