Exercise 1:
name = "Jack"
age = 10
height = 1.53
n = type(name)
a = type(age)
h = type(height)
print(n)
print(a)
print(h)
Homework 1:
a = "123456"
b = "45678"
c = a + b
print(c)
Homework 2:
a = "123456"
b = "45678"
c = int(a) + int(b)
print(c)
Join US to Teach Coding Anytime!
Exercise 1:
name = "Jack"
age = 10
height = 1.53
n = type(name)
a = type(age)
h = type(height)
print(n)
print(a)
print(h)
Homework 1:
a = "123456"
b = "45678"
c = a + b
print(c)
Homework 2:
a = "123456"
b = "45678"
c = int(a) + int(b)
print(c)
[…] 1 HelloWorld| |____Unit 2 Print| |____Unit 3 Magic Variable| |____Unit 4 Basic Operations| |____Unit 5 Data Types| |____Unit 6 Data Input| |____Unit 7 GUI design I| |____Unit 8 GUI design II|____Python Level 2| […]