Skip to content

Commit 0b72634

Browse files
style: format code with autopep8
Format code with autopep8 This commit fixes the style issues introduced in 446a567 according to the output from Autopep8. Details: https://app.deepsource.com/gh/avinashkranjan/Amazing-Python-Scripts/transform/a50c5429-76e7-4ae3-906b-8c34b4035d2f/
1 parent 446a567 commit 0b72634

1 file changed

Lines changed: 7 additions & 2 deletions

File tree

.github/Floating text effect/script.py

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,25 @@
11
import time
22

33
# Function to print floating text
4+
5+
46
def print_floating_text(text):
57
for char in text:
68
print(char, end='', flush=True)
79
time.sleep(0.05) # Adjust the sleep duration for desired speed
810
print()
911

12+
1013
# Installation process
1114
print_floating_text("Hi, I am Shivansh Jain.")
1215
time.sleep(1) # Simulating a delay
1316
print_floating_text("I am a Computer Science student.")
1417
time.sleep(1) # Simulating a delay
15-
print_floating_text("I have added this python script which creates floating text effects.")
18+
print_floating_text(
19+
"I have added this python script which creates floating text effects.")
1620
time.sleep(1) # Simulating a delay
17-
print_floating_text("I know full stack web development using HTML, CSS, Javascript, Django.")
21+
print_floating_text(
22+
"I know full stack web development using HTML, CSS, Javascript, Django.")
1823
time.sleep(1) # Simulating a delay
1924
print_floating_text("I like cricket, music and mythology.")
2025

0 commit comments

Comments
 (0)