2018-19 Lesson 3: Strings and Integers

posted Nov 7, 2018, 8:03 AM by Attila Lengyel
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)
Comments