Module 1 Section 2 - Starting Types & Variables - Task 3

 

Photo by AltumCode on Unsplash

Task 3 - Unit 2 Section 1

# ***Create many print statements [functions] arguments to be used in print output with eight or more arguments.***

student_age = 17

student_name = "Hiroto Yamaguchi"

hiroto_yamaguchi = 50

student_course = "law theory"

print('Mr.', student_name,'will be in the class with',student_age, 'years old students.')

print()

print('How old is Mr.', student_name + '?', 'Mr.', student_name, 'is', hiroto_yamaguchi, 'years old.')

print()

print('How interesting, Mr.', student_name, 'is', hiroto_yamaguchi,'years old and more energetic than his', student_age, 'years old students.')

print()

print('What course is Mr.', student_name, 'has registered for', student_course, 'course.')

print()

print('Mr.', student_name, 'will do well in his', student_course,'course.')

Mr. Hiroto Yamaguchi will be in the class with 17 years old students.

How old is Mr. Hiroto Yamaguchi? Mr. Hiroto Yamaguchi is 50 years old.

How interesting, Mr. Hiroto Yamaguchi is 50 years old and more energetic than his 17 years old students.

What course is Mr. Hiroto Yamaguchi has registered for law theory course.

Mr. Hiroto Yamaguchi will do well in his law theory course.





Comments