The Joy of Computing using Python Coding ASSIGNMENT 2 Answers:- Hello students in this article we are going to share NPTEL The Joy of Computing using Python assignment week 2 answers. All the Answers provided below to help the students as a reference, You must submit your assignment at your own knowledge.
Below you can find The Joy of Computing using Python Coding ASSIGNMENT 2 Answers
Assignment No. | Answers |
---|---|
The Joy of Computing using Python Assignment 1 | Click Here |
The Joy of Computing using Python Assignment 2 | Click Here |
The Joy of Computing using Python Assignment 3 | Click Here |
The Joy of Computing using Python Assignment 4 | Click Here |
The Joy of Computing using Python Assignment 5 | Click Here |
The Joy of Computing using Python Assignment 6 | Click Here |
The Joy of Computing using Python Assignment 7 | Click Here |
The Joy of Computing using Python Assignment 8 | Click Here |
The Joy of Computing using Python Coding ASSIGNMENT 2 Answers 2022:-
Q1. Write a program to take an input from the user and print that input.
Code:- For Week 2 quiz assignment click here
string = input()
print(string, end="")
Q2. Write a program to take an input of two numbers A, and B and print the difference A-B
Code:-
A = int(input())
B = int(input())
z = A-B
print(z, end="")
Next Week Assignment Answers
Q3. Take a string S and an integer A as an input from a user. Write a program to print string S, A number of times.
Code:-
S = input()
A = int(input())
for i in range(1,A+1):
print(S)
For Internship and job updates:- Visit
Disclaimer: We do not claim 100% surety of answers, these answers are based on our sole knowledge, and by posting these answers we are just trying to help students, so we urge do your assignment on your own.
if you have any suggestions then comment below or contact us at [email protected]
If you found this article Interesting and helpful, don’t forget to share it with your friends to get this information.