Discuss / Python / Homework

Homework

Topic source

Ethan-Fanny

#1 Created at ... [Delete] [Delete and Lock User]

#!/usr/local/bin/python3 # -*- coding: utf-8 -*- L = ['Bart', 'Lisa', 'Adam'] for name in L: print('Hello', name)

Ethan-Fanny

#2 Created at ... [Delete] [Delete and Lock User]

#!/usr/local/bin/python3 # -- coding: utf-8 -- L = ['Bart', 'Lisa', 'Adam'] for name in L: print('Hello %s!' % name)


  • 1

Reply