You are on page 1of 2

Tasks

1. Write your first python program in thony or vscode by printing


hello world in a single print statement
2. Print hello world 10 times by replicating string.
3. Write a program by printing your name, registration number,
program, phone number and course you are learning in different
print statements.
4. Write a program to print all the data in question 3 by using
single print statement but using escape sequence.
5. Demonstrate different escape sequence statements.
6. Print string, integers and float numbers on screen using different
print statements.
7. Use python variables to store integers, floats and string data
types.
8. Write a program to print your name and registration number in a
single print statement. Both values must be stored in variables.
9. Write two numbers store them in variables and show their
addition, multiplication, division, subtraction and remainder.
10. Write a program to input a string from a user and print it
11. Write a program to input integer and float numbers from
user and print it
12. Write a program to input two numbers from a user and
perform all arithmetic operation on those two numbers and print
it.
13. Write a program to input temperature in Fahrenheit and
convert it into Celsius and print it.
14. Write a program to input temperature in Celsius and
convert it into Fahrenheit and print it.
15. Write a program to input miles from user and convert it
into kilometers
16. Write a program to input kilometers from a user and
convert it into miles and print it.
17. Input radius of a circle from user and print its area,
circumference and diameter.
18. Input minutes from a user and convert it into hours.
19. Input hours from user and convert it into minutes and
seconds.

You might also like