Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
gmolveau
GitHub Repository: gmolveau/python_full_course
Path: blob/master/exercices/oop/numbered_indentation/README.md
306 views

code a python script, which takes a text in input, and print a copy of the text with numbering :

  • input :

a b c d e f
  • output :

1. a 1.1. b 1.1.1. c 1.1.2. d 1.2. e 2. f