From 6535a6f2b9ceab54369d4a397c756d0ce52df702 Mon Sep 17 00:00:00 2001 From: Jidong Xiao Date: Sun, 19 Nov 2023 02:20:57 -0500 Subject: [PATCH] the commands --- hws/09_tiktok_trends/README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/hws/09_tiktok_trends/README.md b/hws/09_tiktok_trends/README.md index 5191a5f..b2a91de 100644 --- a/hws/09_tiktok_trends/README.md +++ b/hws/09_tiktok_trends/README.md @@ -37,16 +37,16 @@ And in cases like this, exit your program, do not print anything else into the o Your program will be run like this: ```console -nytrends.exe hashtag input.json output.txt -nytrends.exe sound input.json output.txt +nytrends.exe input.json output.txt hashtag +nytrends.exe input.json output.txt sound ``` Here: - *nytrends.exe* is the executable file name. -- this field will be either hashtag or sound. When this field is *hashtag*, your program should display the top 10 trending hashtags to the output file. When this field is *sound*, your program should display the top 10 trending sounds to the output file. - input.json contains data collected from TikTok. In this README we will refer to this file as **the json file**. - output.txt is where to print your output to. In this README we will refer to this file as **the output file**. +- this field will be either hashtag or sound. When this field is *hashtag*, your program should display the top 10 trending hashtags to the output file. When this field is *sound*, your program should display the top 10 trending sounds to the output file. To summerize what your program does: your program reads data from **the json file**, analyze the data and find out the top 10 trending hashtags, or the top 10 trending sounds, and display them in the output file.