Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion Datatypes-String Literals.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,11 @@ To write a Python program to read a string from the user and then print it.
3. Print the value stored in the variable.

## 🧾 Program

men_stepped_on_the_moon = input("Enter a string: ")
print(men_stepped_on_the_moon)
## Output
Enter a string: That's how man first stepped on the moon.
That's how man first stepped on the moon.

## Result
The code Executed successfully