output of A='7'
print(A*4+str(int(A)*2))
Answers
Answered by
2
Answer:
777714
Explanation:
- String when multiplied with a number say a. It will be repeated 4 times. Here, A='7' and so A*4 will return '7777'.
- int(A) converts A to integer type. And multiplying one integer with another returns product therefore, 7*2=14.
- str(14) converts integer 14 to string.
- + concatenates string. Therefore, '7777'+'14' will return 777714.
Similar questions
Accountancy,
30 days ago
English,
30 days ago
English,
30 days ago
Chemistry,
2 months ago
Hindi,
2 months ago
Math,
8 months ago
Political Science,
8 months ago