1 00:00:07,720 --> 00:00:14,920 But how do we declare strings now, let's type some simple strings, I will here, right strings, OK, 2 00:00:15,190 --> 00:00:16,750 and then let's write. 3 00:00:18,710 --> 00:00:27,200 Let's try a basketball player in here, I create a simple court that will ask you to create or to at 4 00:00:27,200 --> 00:00:32,270 your favorite basketball player, and to do this, we need to take an input from the user. 5 00:00:32,660 --> 00:00:37,040 And in Python, you are taking input from the user by doing input. 6 00:00:37,470 --> 00:00:41,950 OK, and here you can write the string asking a question. 7 00:00:42,230 --> 00:00:46,850 So let's in that case ask who is your. 8 00:00:48,530 --> 00:00:49,430 Favorite. 9 00:00:52,700 --> 00:00:53,630 Basketball. 10 00:00:56,330 --> 00:01:01,560 Player and I will leave some space here, OK, and then. 11 00:01:01,820 --> 00:01:07,200 So, first of all, the program takes this input and stores it in the basketball player variable. 12 00:01:07,270 --> 00:01:14,320 OK, and let's try to print our results or to print what we actually added in the program. 13 00:01:14,690 --> 00:01:20,360 So to do this, you can simply write print then, Mike. 14 00:01:21,820 --> 00:01:28,240 Favorite player is let's just space here and then separate. 15 00:01:29,800 --> 00:01:33,650 Basketball player and up here. 16 00:01:33,910 --> 00:01:40,450 So what this will simply do, this will at this shrink here, my favorite basketball player is and then 17 00:01:40,450 --> 00:01:46,600 this will add to the string basketball player, which we already declared and found, but there was 18 00:01:46,600 --> 00:01:49,370 nothing better than simply running the court. 19 00:01:49,510 --> 00:01:56,230 So what's the on the court press here and here, you can see a statement asking this, what is our favorite 20 00:01:56,230 --> 00:01:57,120 basketball player? 21 00:01:57,550 --> 00:01:58,390 Let's press. 22 00:02:01,570 --> 00:02:08,950 Michael Jordan, and when you select enter, you can see the statement, my favorite basketball player 23 00:02:08,950 --> 00:02:11,690 is Michael Jordan, right. 24 00:02:12,100 --> 00:02:17,770 So you titled The String, my favorite basketball player and basketball player. 25 00:02:17,890 --> 00:02:21,490 And this is how you basically take input from the user and print it.