Download as pdf or txt
Download as pdf or txt
You are on page 1of 6

Name: Askal Thapa

Assignment: Week 1

1. Print "Hello world "


Output:

2. Swap two variables with two different techniques.

Output:

Another Step:
Output:

3. Radius (user input.) Print Perimeter and Area of a circle. Perimeter:

Output:

Area:
Output:

4. Number (user input). Print multiplication table.

Output:

5. Number (user input). Print next perfect square. If number is -5, print 0. If number
is 40, print 49. If number is 16, print 25.
Output

6. Number (x and a input). Print log of X with base a.


Output:

You might also like