Uploaded image for project: 'Product Technical Learning'
  1. Product Technical Learning
  2. PTL-8383

DO400-13: wrong directory name in ch02s06 step 1.2 & 1.3 & 1.4

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • DO400 - Early Access
    • DO400 - Early Access
    • DO400
    • None
    • ROLE
    • en-US (English)

      URL: https://rol.redhat.com/rol-stage/app/courses/do400-4.6/pages/ch02s06
      Reporter RHNID: ctiwary@redhat.com
      Section: 6 - Guided Exercise: Creating Git Branches
      Language: en-US (English)||||||||
      Workaround:

      Description: wrong directory name in ch02s06 step 1.2 & 1.3 & 1.4

      Navigate to the hello-branches folder and initialize a new repository.

      [user@host DO400]$ cd hello-branches
      [user@host git-branches]$ git init .
      Initialized empty Git repository in ...output omitted.../DO400/hello-branches/.git/
      Create the helloworld.py file with the following content:

      def say_hello(name):
      print(f"Hello,

      {name}

      !")

      say_hello("world")
      Run the program:

      [user@host git-branches]$ python helloworld.py
      Hello, world!

              rhn-gps-gbianco Guy Bianco
              chetan-rhls Chetan Tiwary
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: