Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit cef6024

Browse files
Merge pull request avinashkranjan#2237 from avinashkranjan/deepsource-transform-7bea953f
format code with autopep8
2 parents 6618b1e + 0b72634 commit cef6024

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

‎.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)

AltStyle によって変換されたページ (->オリジナル) /