main
1#!/usr/bin/env python
2
3print("""
4Program author: mo khan
5ID: 3431709
6PROGRAM 2-USING INPUT
7""")
8
9# Read from stdin and assign value to a variable
10string1 = input("Input string 1? ")
11
12# Read from stdin and assign value to a variable
13string2 = input("Input string 2? ")
14
15# Read from stdin, convert to integer and assign value to a variable
16int1 = int(input("Input integer A? "))
17
18# Read from stdin, convert to integer and assign value to a variable
19int2 = int(input("Input integer B? "))
20
21print('')
22# Print the concatenation of string1 and string2
23print('{}{}'.format(string1, string2))
24
25# Print the result of multiplying int2 and int2
26print('{}'.format(int1 * int2))