How do i stop this from saying 'None'? I'm new to coding in Python.

0 votes
asked Apr 23, 2019 by WilliamPython1 (180 points)
reopened Apr 23, 2019 by WilliamPython1
import random
import time
#variables
Calltime = True
#Loading Code
#loading Time (2 secs)
while Calltime == True:
  print('Loading',time.sleep(1),'.',time.sleep(1),'.',time.sleep(1),".")

2 Answers

0 votes
answered Apr 30, 2019 by urdumblmao

print('Loading',end='')

time.sleep(1)

print('.',end='')

time.sleep(1)

print('.',end='')

time.sleep(1)

print('.')

0 votes
answered Feb 5 by Nando Abreu (930 points)

limit = 3

import time

print("Loading", end="")
for _ in range(limit):
    print(".", end="")
    time.sleep(1)

Welcome to OnlineGDB Q&A, where you can ask questions related to programming and OnlineGDB IDE and and receive answers from other members of the community.
...