1.Write python expressions to represent and print the following situations :
a. Assign value 10 to a variable num
b. Assign value 10 to variable num1 ,num2 and num3
c. Find the sum of the square roots of 8 and 43
d. Find the integral part of the quotient when 100 is divide by 24.
2. Write a program to input a number and print its first 10 multiples.
3. Write a program to read details like name,class,age of a student and then print
the details firstly in the same line and then in separate lines:
4. Write a program to read three numbers into three variables and swap first two 2
Variables with the sums of first and second ,second and third numbers respectively
Answers
Answered by
0
Answer:
Answer:nN= int(input("Enter number: "))
Answer:nN= int(input("Enter number: "))print("First five multiples of", n, "are")
Answer:nN= int(input("Enter number: "))print("First five multiples of", n, "are")print(n, n * 2, n * 3, n * 4, n
Similar questions