2018-19 Lesson 3: Strings and Integers

Post date: Nov 7, 2018 4:03:45 PM

print("Hello World!!!")

name = input("What is your name?:")

message = "Hello " + name + "! Nice meeting you!"

print("Hello", name, "! Nice meeting you")

print(message)

print(name[0])

a = int(input("Give me a number:"))

b = int(input("Give me second number:"))

print("Sum of the two number is", a + b)

print("Difference of the two number is", a - b)

print("Product of the two number is", a * b)

print("Quotient of the two number is", a / b)

print("a on the power of b is", a**b)